Start EventManager
This commit is contained in:
parent
8c2c988c70
commit
5466d6d66e
8 changed files with 193 additions and 6 deletions
|
@ -136,6 +136,8 @@ public class Client_controller : MonoBehaviour, IUsable
|
|||
|
||||
if(status=="entering" && !agent.pathPending && agent.remainingDistance==0) //Reached seat ?
|
||||
{
|
||||
EventManager.Instance.spawnEvent(transform.position);
|
||||
|
||||
status="waiting";
|
||||
waitTimer=waitingTime;
|
||||
order = ClientManager.Instance.assignOrder();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue