void Start() { anim = GetComponent<Animator> (); script = GetComponentInParent<BlobWars.Blob> (); if (script == null) { script = GetComponentInParent<BlobWars.ArtilleryBlob> (); } }
void Start() { anim = GetComponent<Animator> (); script = GetComponentInParent<BlobWars.Blob> (); }