예제 #1
0
 protected override void OnPrefabInit()
 {
     base.OnPrefabInit();
     instance = this;
 }
예제 #2
0
 public static void DestroyInstance()
 {
     instance = null;
 }