//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 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 = GreenHouseRoomManager.instance; if (man == null) { return; } RoomSpecificAnimator.SetInteger(ANIM_PROP_PROGRESS, man.Progress); }