void SetMissionFailed(MissionFailType _failType) { MissionFailType failType = _failType; if (PlayerCharacterNew.Instance != null && !PlayerCharacterNew.Instance.IsMissionFailed()) { PlayerCharacterNew.Instance.SetMissionFailedByOutMistake(failType); } }
void IfItsOkSetMissionFailed(MissionFailType _failType) { MissionFailType failType = _failType; if (IsTimerOkToSetMissionFailed()) { SetMissionFailed(failType); SetLevelStep(step_TheEndBro); } }