コード例 #1
0
    public void SpeechTypeC()
    {
        EventStart(true);
        Animator animator = currentCustomer.GetComponent <Animator>();

        animator.SetBool("isIntro", false);
    }
コード例 #2
0
    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;
        }
    }