//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); }
//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); }
//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); }