예제 #1
0
 void Awake()
 {
     if (m_Instance && m_Instance != this)
     {
         Destroy(this);
     }
     else
     {
         m_Instance = this;
     }
 }
예제 #2
0
 protected void Flash()
 {
     LEGOBehaviourCoroutineManager.StartCoroutine(this, DoFlash(), true);
 }