예제 #1
0
 protected override void OnDestroy()
 {
     Instance = null;
     base.OnDestroy();
 }
예제 #2
0
 private void Awake()
 {
     Instance = this;
 }