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