void Awake() { openDoorCount = 0; closeDoorCount = 0; monoFade = StageName.GetComponent <MonoColorFade>(); sceneName = UnityEngine.SceneManagement.SceneManager.GetActiveScene().name; isDoorAnimating = false; }