public void SpeechTypeC() { EventStart(true); Animator animator = currentCustomer.GetComponent <Animator>(); animator.SetBool("isIntro", false); }
public void CustomerOrder(CustomerControl customer) { currentCustomer = customer; CustomerNameLabel.text = customer.CustomerName; CustomerOrderLabel.text = customer.CustomerOrder; switch (customer.CustomerType) { case "A": SpeechStart(true); break; case "B": MarchentStart(true); break; case "C": Animator animator = currentCustomer.GetComponent <Animator>(); animator.SetBool("isIntro", true); Invoke("BossActionStarter", 1f); break; } }