示例#1
0
 void Start()
 {
     actor = GetComponent <Actor>();
     // currentState = State.OrbitalBeam;
     bossManager = GameObject.Find("BossManager").GetComponent <BossManager>();
     bossManager.InitializeBox(actor);
 }
示例#2
0
 void Awake()
 {
     rig         = GetComponent <Rigidbody>();
     actor       = GetComponent <Actor>();
     bossManager = GameObject.Find("BossManager").GetComponent <BossManager>();
     bossManager.InitializeBox(actor);
 }