Esempio n. 1
0
 void Awake()
 {
     Instance = this;
 }
Esempio n. 2
0
        /*void OnGUI()
         * {
         *      if(!MessageHandler.Instance.showAllGui)
         *      {
         *              return;
         *      }
         *      GUILayout.Space(200f);
         *      GUILayout.Label("即将要创建的鱼 = "+fish2Create.Count);
         *      GUILayout.Label("场景中鱼的数量 = "+fishHaveCreated.Count+"/"+shadowHaveCreated.Count);
         * }*/

        void OnDestroy()
        {
            Instance = null;
        }