Beispiel #1
0
 protected virtual void Awake()
 {
     projectileSpawner = GetComponentInChildren <ProjectileSpawner>();
 }
Beispiel #2
0
 void Awake()
 {
     projectileSpawner = GetComponentInChildren <ProjectileSpawner>();
     animator          = GetComponent <Animator>() as Animator;
     rect = GetComponent <RectTransform>() as RectTransform;
 }