示例#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> ();
 }