void Awake() { if (Instance != null) { Debug.Log("FadeInScene is already in play. Deleting old Instantiating new."); Destroy(gameObject); } else Instance = this; }
void Awake() { if (Instance != null) { Debug.Log("FadeInScene is already in play. Deleting old Instantiating new."); Destroy(gameObject); } else { Instance = this; } }