Beispiel #1
0
 // Start is called before the first frame update
 protected override void Start()
 {
     base.Start();
     ai             = GetComponentInParent <AI_BossSnake>();
     effectsStorage = GetComponentInParent <EffectsStorage>();
     bodySr         = transform.parent.Find("BossSnakeSprite").GetComponent <SpriteRenderer>();
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     ai = transform.GetComponentInParent <AI_BossSnake>();
 }