public void Tick() { if (playAnimation) { OrientToStand(); } if (findOrderTimer >= 0) { findOrderTimer -= Time.deltaTime; if (findOrderTimer <= 0) { Debug.Log("Generating order"); pedestrian.GenerateCustomerOrder(); return; } return; } }
public void Tick() { if (playAnimation) { OrientToStand(); } if (findOrderTimer >= 0) { findOrderTimer -= Time.deltaTime; if (findOrderTimer <= 0) { Debug.Log("Generating order"); pedestrian.GenerateCustomerOrder(); return; } return; } }