private void BasicDisappearEffect() //Эффект исчезновения { isMonsterAppear = false; if (!Covering.isCovering) { EyeBlinkController.CallBlink(); } OptionalDisappearEffect(); }
private IEnumerator CutSceneScenario() { EyeBlinkController.CallBlink(); yield return(new WaitForSeconds(EyeBlinkController.halfTimeBlink)); menModel.enabled = true; handModel.enabled = true; cutSceneJumpScare.Play(); yield return(new WaitForSeconds(cutSceneJumpScare.clip.length + timeBeforeSound)); cutSceneLaugh.Play(); yield return(new WaitForSeconds(cutSceneLaugh.clip.length)); CutSceneUiController.SetActive(true); StopCoroutine(cutSceneScenarioCourutine); }
private void BasicAppearEffect(int soundNum) { isMonsterAppear = true; EyeBlinkController.CallBlink(); //Проигрываем анимации моргания OptionalAppearEffect(); }