Exemple #1
0
 void Awake()
 {
     o_loading_panel = GameObject.Find("scene_loading");
     o_loading_wait  = GameObject.Find("scene_loading/sp_wait");
     if (instance == null)
     {
         instance = this;
     }
 }
Exemple #2
0
 private void OnDestroy()
 {
     instance = null;
 }