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