예제 #1
0
        public void SignalOutLevel(LevelBehaviour level)
        {
            var levelIndex = Array.IndexOf(levels, level);

            signals.Remove(levelIndex);
        }
예제 #2
0
        protected override void OnAwake()
        {
            level = GetComponentInParent <LevelBehaviour>();

            elevator = GetComponentInParent <ElevatorBehaviour>();
        }
예제 #3
0
        public void SignalOnLevel(LevelBehaviour level)
        {
            var levelIndex = Array.IndexOf(levels, level);

            signals.Add(levelIndex);
        }