12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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()
- {
- ManaReso.Instance.StopAsync();
- Complete = true;
- Camera.SetActive(false);
- ManaUI.InitialInstantiate();
- SceneManager.LoadScene(1);
- }
- }
|