예제 #1
0
 void Awake()
 {
     if (mInstance == null)
     {
         mInstance = this as CameraFade;
         instance.init();
     }
 }
예제 #2
0
 void OnApplicationQuit()
 {
     mInstance = null;
 }
예제 #3
0
 void Die()
 {
     mInstance = null;
     Destroy(gameObject);
 }