From 27edf3e3925d47794b7f7a23401c1c1b90f7d47d Mon Sep 17 00:00:00 2001 From: kimura Date: Thu, 16 Sep 2021 19:22:17 +0900 Subject: [PATCH] =?UTF-8?q?=E5=A3=B2=E3=82=8A=E5=88=87=E3=82=8C=E6=99=82?= =?UTF-8?q?=E3=81=AB=E3=81=8A=E5=AE=A2=E3=81=95=E3=82=93=E3=81=8C=E5=B8=B0?= =?UTF-8?q?=E3=82=8B=E3=83=AB=E3=83=BC=E3=83=88=E3=82=92=E8=B3=BC=E5=85=A5?= =?UTF-8?q?=E6=99=82=E3=81=A8=E5=90=8C=E3=81=98=E3=83=AD=E3=82=B8=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyGame/Scenes/marketing/Scripts/CustomerController.cs | 5 +++++ popcorn/Assets/MyGame/Scenes/marketing/Scripts/Market.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/CustomerController.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/CustomerController.cs index 277b7f2c..f1faf63b 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/CustomerController.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/CustomerController.cs @@ -25,6 +25,7 @@ public enum CustomerState Wait, Order, Leave, + SadLeave, EatingLeave, } @@ -164,6 +165,10 @@ public class CustomerController : MonoBehaviour case CustomerState.Leave: ForceSetMove(CustomerMovingType.WalkSide); break; + case CustomerState.SadLeave: + AddMove(CustomerMovingType.WalkFront); + AddMove(CustomerMovingType.WalkSide); + break; case CustomerState.EatingLeave: AddMove(CustomerMovingType.WalkFrontEat); AddMove(CustomerMovingType.WalkSideEat); diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/Market.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/Market.cs index d0302bff..e2cdc052 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/Market.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/Market.cs @@ -173,7 +173,7 @@ public class Market : MonoBehaviour controller.CallWaitForSeconds(1.5f, () => { controller.ShowComplain(); - controller.ChangeCustomerState(CustomerState.Leave); + controller.ChangeCustomerState(CustomerState.SadLeave); }); dontBuyCustomerList.Add(controller); continue;