From 3b6fb95a31da3b5fa3a9be696bffa689afb6f129 Mon Sep 17 00:00:00 2001 From: kimura Date: Fri, 22 Oct 2021 12:28:20 +0900 Subject: [PATCH] =?UTF-8?q?=E8=B2=A9=E5=A3=B2=E3=82=A2=E3=83=8B=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs index 09e3292d..c8ca90ed 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs @@ -150,6 +150,7 @@ public class BrotherPinkView : SingletonMonoBehaviour public void StartPromotion() { isPromotion = true; + animator.ResetTrigger(Normal); animator.SetTrigger(Promotion); Vector3 localPosition = RightPos; localPosition += Vector3.forward * (localPosition.y + Mathf.Abs(walkSideBottomPos)); @@ -168,12 +169,14 @@ public class BrotherPinkView : SingletonMonoBehaviour var time = stateInfo.normalizedTime; this.CallWaitForSeconds((1 - time % 1) * length - .3f, () => { + animator.ResetTrigger(Promotion); ResetMove(); isPromotion = false; }); return; } } + animator.ResetTrigger(Promotion); ResetMove(); isPromotion = false; }