123456789101112131415161718192021222324252627282930313233343536373839 |
- using UnityEngine;
- using UnityEngine.SceneManagement;
- using System;
- using System.Collections;
- public class Logo : MonoBehaviour
- {
- #region 变量
- public static bool LogoComplete = true;
- public static GameObject Cameta;
- #endregion
- public void Awake()
- {
- Cameta = GameObject.Find("Main Camera");
- }
- public void Begin()
- {
- LogoComplete = false;
- }
- public void Complete()
- {
- LogoComplete = true;
- Cameta.SetActive(false);
- ManaUI.InitialInstantiate();
- ManaReso.Instance.StopAsync();
- SceneManager.LoadScene(1);
- }
- }
|