// Update is called once per frame void Update() { if (!InstructionCovering.isCovering) { stage7needed = false; InstructionController.AllowNextStage(); } if (InstructionCovering.stage7Done && stage7needed) { stage7needed = false; stage7.SetActive(true); InstructionCovering._staminaMaxValue = InstructionCovering._staminaMaxValue * coveringStopCoefficient; InstructionCovering.staminaPresentValue = InstructionCovering.staminaPresentValue * coveringStopCoefficient; } }
///<summary> ///Calls in animationEvent when stage ends ///</summary> public void StageExit() { OptionalExitAction(); InstructionController.AllowNextStage(); }