//update the finale progress
        void Update()
        {
            if (RoomSpecificAnimator == null)
            {
                return;
            }
            var man = FinaleRoomManager.instance;

            if (man == null)
            {
                return;
            }

            RoomSpecificAnimator.SetInteger(ANIM_PROP_COMPLETE, man.Progress);
        }
예제 #2
0
        //update the basement progress
        void Update()
        {
            if (RoomSpecificAnimator == null)
            {
                return;
            }
            var man = BasementRoomManager.instance;

            if (man == null)
            {
                return;
            }

            RoomSpecificAnimator.SetInteger(ANIM_PROP_PROGRESS, man.CompletedGeneratorCount);
        }
    //update the basement progress
    void Update()
    {
        if (RoomSpecificAnimator == null)
        {
            return;
        }
        var man = GreenHouseRoomManager.instance;

        if (man == null)
        {
            return;
        }

        RoomSpecificAnimator.SetInteger(ANIM_PROP_PROGRESS, man.Progress);
    }
        //update the lobby progress
        void Update()
        {
            if (RoomSpecificAnimator == null)
            {
                return;
            }
            var man = LobbyRoomManager.instance;

            if (man == null)
            {
                return;
            }

            RoomSpecificAnimator.SetBool(ANIM_PROP_COMPLETE, man.State != BaseRoomManager.RoomState.Incomplete);
        }
예제 #5
0
        //update the basement progress
        void Update()
        {
            if (RoomSpecificAnimator == null)
            {
                return;
            }
            var man = GearRoomManager.instance;

            if (man == null)
            {
                return;
            }

            RoomSpecificAnimator.SetBool(ANIM_PROP_PULLED_LEVER, man.ObjectiveComplete_PulledLever);
            RoomSpecificAnimator.SetBool(ANIM_PROP_CRANKED_CRANK, man.ObjectiveComplete_CrankedCrank);
        }