예제 #1
0
 // Use this for initialization
 void Start()
 {
     Foot = GetComponentInChildren <WarriorFoot>();
     anim = GetComponentInChildren <Animator>();
     if (SceneManager.GetActiveScene().buildIndex == 2)
     {
         GameObject.Instantiate(note1, new Vector3(100, 0), Quaternion.identity);
     }
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     Foot = GetComponentInChildren <WarriorFoot>();
     anim = GetComponentInChildren <Animator>();
 }