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