Merge branch 'develop' of bitbucket.org:usaya/popcorn into develop

This commit is contained in:
koya_15 2021-09-16 19:28:27 +09:00
commit d400656fe9
2 changed files with 6 additions and 1 deletions

View File

@ -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);

View File

@ -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;