Exemple #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);
     }
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     Foot = GetComponentInChildren <WarriorFoot>();
     anim = GetComponentInChildren <Animator>();
 }