// Start is called before the first frame update void Start() { instance = this; movement = GetComponent <NodeToNodeMovement>(); instance.foodOnHead.sprite = null; instance.orderBubble.sprite = null; }
// Start is called before the first frame update void Start() { //Random hero time heroOrder = Random.Range(0, 2); HungryTime = Random.Range(hungryMin, hungryMax); EatingTime = Random.Range(eatingMin, eatingMax); CheckoutTime = Random.Range(checkoutMin, checkoutMax); movement = GetComponent <NodeToNodeMovement>(); movement.currentNode = ReceptionRoom.instance.gameObject; movement.exitHallNode = ReceptionRoom.instance.hallNode; UpdateEmotionSprite(); }