示例#1
0
 // Use this for initialization
 void Start()
 {
     f           = FindObjectOfType <FinalDungeonBoss>();
     f.spawnedMe = true;
     anim        = this.gameObject.GetComponent <Animation>();
 }
示例#2
0
 /* Tentacle nums
  * 0    watermelon  red
  * 1    turbine     green
  * 2    cactus      yellow
  * 3    bomb        pink
  * 4    mushroom    black
  * 5    boomerang   blue
  * 6    spinning    teal
  */
 protected override void Start()
 {
     base.Start();
     boss = FindObjectOfType <FinalDungeonBoss>();
     anim = gameObject.GetComponent <Animation>();
 }