Esempio n. 1
0
        public void DeliverOrder(Orders orders)
        {
            ActionTakeOrder action = GetComponent <ActionTakeOrder>();

            if (action)
            {
                action.DeliverOrder(orders);
            }
        }
Esempio n. 2
0
        public void ActionTakeOrder(CustomerGroup group)
        {
            ActionTakeOrder action = actionManager.AddAction <ActionTakeOrder>();

            if (action)
            {
                action.SetCustomerGroup(group);
            }
        }