From 9a15f03aa476953dd2e1bd1805805b593f1b8d6a Mon Sep 17 00:00:00 2001 From: Rapandrasmus <78219215+Rapandrasmus@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:40:43 +0200 Subject: [PATCH] giraffe fix --- Assets/Scripts/Games/AnimalAcrobat/GiraffeInput.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Assets/Scripts/Games/AnimalAcrobat/GiraffeInput.cs b/Assets/Scripts/Games/AnimalAcrobat/GiraffeInput.cs index 91b7a6f44..e325db65e 100644 --- a/Assets/Scripts/Games/AnimalAcrobat/GiraffeInput.cs +++ b/Assets/Scripts/Games/AnimalAcrobat/GiraffeInput.cs @@ -42,6 +42,15 @@ namespace HeavenStudio.Games.Scripts_AnimalAcrobat private void JustHold(PlayerActionEvent caller, float state) { SoundByte.PlayOneShotGame("animalAcrobat/catch"); + _monkey.gameObject.SetActive(true); + _monkey.DoScaledAnimationAsync("PlayerHang", 0.5f); + BeatAction.New(this, new List() + { + new BeatAction.Action(caller.startBeat + caller.timer + 2, delegate + { + _monkey.DoScaledAnimationAsync("PlayerHanging", 0.5f); + }) + }); } private void JustHoldGiraffe(PlayerActionEvent caller, float state)