initializeIfNecessary() 개인적인 메소드

private initializeIfNecessary ( ) : void
리턴 void
예제 #1
0
 public static CellControl get() {
     if (_instance == null)
     {
         _instance = GameObject.Find(gameObjectName).GetComponent<CellControl>();
         if(null != _instance)
         {
             _instance.initializeIfNecessary();
         }
         else
         {
             Logger.Log("CellControl::get couldn't find game object", Logger.Level.ERROR);
         }
     }
     return _instance;
 }
예제 #2
0
 public static CellControl get()
 {
     if (_instance == null)
     {
         _instance = GameObject.Find(gameObjectName).GetComponent <CellControl>();
         if (null != _instance)
         {
             _instance.initializeIfNecessary();
         }
         else
         {
             Logger.Log("CellControl::get couldn't find game object", Logger.Level.ERROR);
         }
     }
     return(_instance);
 }