Ejemplo n.º 1
0
 void Awake()
 {
     o_MsgBox = GameObject.Find("scene_exit");
     if (instance == null)
     {
         instance = this;
     }
 }
Ejemplo n.º 2
0
 private void OnDestroy()
 {
     instance = null;
 }