public void DeliverOrder(Orders orders) { ActionTakeOrder action = GetComponent <ActionTakeOrder>(); if (action) { action.DeliverOrder(orders); } }
public void ActionTakeOrder(CustomerGroup group) { ActionTakeOrder action = actionManager.AddAction <ActionTakeOrder>(); if (action) { action.SetCustomerGroup(group); } }