Exemplo n.º 1
0
 void Start()
 {
     _eternal    = GetComponent <Eternal>();
     _attack     = GetComponent <EternalAttack>();
     _last_Shoot = GetComponentInChildren <EternalLastShoot>();
     _se         = GetComponentInChildren <SEManager>();
     _effect     = GetComponentInChildren <EternalEffect>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     //取得
     _eternal          = GetComponent <Eternal>();
     _last_Attack      = GetComponent <EternalLastAttack>();
     _shoot            = GetComponentInChildren <EternalShoot>();
     _effect           = GetComponentInChildren <EternalEffect>();
     _se               = GetComponentInChildren <SEManager>();
     _collision        = GetComponentInChildren <BossChildCollision>();
     _small_Larve_Gen  = GetComponentInChildren <SmallLarveGenerator>();
     _move             = GetComponent <MoveConstTime>();
     player            = GameObject.FindWithTag("PlayerTag");
     player_Controller = player.GetComponent <PlayerController>();
 }