Beispiel #1
0
 void Start()
 {
     storkBoss = anim.GetComponent <StorkBossMainScript>();
 }
Beispiel #2
0
 override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     storkBoss = animator.GetComponent <StorkBossMainScript>();
 }
Beispiel #3
0
 override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex)
 {
     storkBoss = animator.GetComponent <StorkBossMainScript>();
     playerPos = GameObject.FindGameObjectWithTag("Player").GetComponent <Transform>();
 }