Beispiel #1
0
 public void OnEnable()
 {
     if (instance != null)
     {
         Debug.LogWarning("Already found Erica in scene");
     }
     instance = this;
     SetDialogueText("");
 }
Beispiel #2
0
 public void OnDisable()
 {
     if (instance == this)
     {
         instance = null;
     }
     else
     {
         Debug.LogWarning("Already found Erica in scene");
     }
 }