private void Awake() { if (_instance == null) { _instance = this; } else if (_instance != this) { Destroy(gameObject); } }
// Start is called before the first frame update void Start() { dialogueManager = DialoguesManager.Instance; }
private void Awake() { _instance = this; }
void Awake() { mInstance = this; }