diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs index 780a5e31..0808298a 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/BrotherPinkView.cs @@ -103,7 +103,11 @@ public class BrotherPinkView : SingletonMonoBehaviour var move = pinkMoves[moveIndex]; wayPoint = move.wayPoint; completedDuration = move.wait; - if (animator != null) animator.SetTrigger(move.trigger); + if (animator != null) + { + animator.ResetTrigger(Normal); + animator.SetTrigger(move.trigger); + } if (Vector2.Distance(wayPoint, pinkTransform.localPosition.ToVector2()) < .01f) { // nop @@ -145,11 +149,11 @@ public class BrotherPinkView : SingletonMonoBehaviour public void SetWalk() { - if (!isManyCustomer) + if (isLocked) { return; } - if (!isLocked) + if (isManyCustomer) { isManyCustomer = false; SetPinkMove();