void Awake() { if (s_instance == null) { s_instance = this; } else { Destroy (this.gameObject); Debug.LogWarning("Deleted " + gameObject.name + " because it was a duplicate confirmation pop up instance"); } }
void Awake() { if (s_instance == null) { s_instance = this; } else { Destroy(this.gameObject); Debug.LogWarning("Deleted " + gameObject.name + " because it was a duplicate confirmation pop up instance"); } }