Ejemplo n.º 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>();
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     ai = transform.GetComponentInParent <AI_BossSnake>();
 }