private void Start() { if (dialogSpawner == null) { DontDestroyOnLoad(gameObject); dialogSpawner = this; } else if (dialogSpawner != this) { Destroy(gameObject); } }