예제 #1
0
    IEnumerator OnIntroEventCameraDone()
    {
        Animator a = pe.GetComponent <Animator> ();

        if (a)
        {
            a.SetTrigger("Wake");


            yield return(new WaitForSeconds(6));

            Vector3 question = pe.transform.position;
            question.y += 1;
            ParticleController.Question(question, 1);

            yield return(new WaitForSeconds(1));

            NotificationCentre.PostNotification(this, "OnIntroEventExit");

            //a.SetTrigger ("Standby"); // Wake automatically transitions to Idle
        }
    }