protected void OnDestroy()
 {
     if(controller != null)
     {
         controller = null;
     }
 }
Esempio n. 2
0
 protected void OnDestroy()
 {
     if (controller != null)
     {
         controller = null;
     }
 }
 //------------------------------------------------------------------------------
 // static public methods
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // protected mono methods
 //------------------------------------------------------------------------------
 protected void Awake()
 {
     controller = this;
 }
Esempio n. 4
0
 //------------------------------------------------------------------------------
 // static public methods
 //------------------------------------------------------------------------------
 //------------------------------------------------------------------------------
 // protected mono methods
 //------------------------------------------------------------------------------
 protected void Awake()
 {
     controller = this;
 }