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