Example #1
0
 public override void ChangeToAtkState(Transform monsterTsf, Monster monster, float monsterRadio)
 {
     base.ChangeToAtkState(monsterTsf, monster, monsterRadio);
     m_AtkState.SetLockMonster(monsterTsf, monster, monsterRadio);
     ChangeState(m_AtkState);
 }
Example #2
0
 public override void Init(GameObject player, Wave wave, Monster monster)
 {
     base.Init(player, wave, monster);
     m_SqrTriggerRange = TriggerRange * TriggerRange;
 }
Example #3
0
 public override void SetLockMonster(Transform monsterTsf, Monster lockMonster, float radio)
 {
     m_NeedCheckNewState = false;
     base.SetLockMonster(monsterTsf, lockMonster, radio);
     m_UAV002SkillAct.SetLockMonster(monsterTsf, lockMonster, radio);
 }
 private void Start()
 {
     m_Monster = GetComponentInParent <Monster>();
 }
Example #5
0
 public override void Init(GameObject player, Wave wave, Monster monster)
 {
     base.Init(player, wave, monster);
     m_InAnimAct      = false;
     m_InstanceBullet = false;
 }
Example #6
0
 public override void Init(GameObject player, Wave wave, Monster monster)
 {
     base.Init(player, wave, monster);
     m_ShieldGo.SetActive(false);
     m_ShieldGoEffect.SetActive(false);
 }