Exemplo n.º 1
0
 void Start()
 {
     anim = GetComponent<Animator> ();
     script = GetComponentInParent<BlobWars.Blob> ();
     if (script == null) {
         script = GetComponentInParent<BlobWars.ArtilleryBlob> ();
     }
 }
Exemplo n.º 2
0
 void Start()
 {
     anim = GetComponent<Animator> ();
     script = GetComponentInParent<BlobWars.Blob> ();
 }