Пример #1
0
 public override void Initialize()
 {
     base.Initialize();
     //一定要初始化
     TransformForward = Vector3.zero;
     PlayerHurtAttr   = new PlayerHurtAttr();
 }
Пример #2
0
 /// <summary>
 /// 提供给EnemyAttack调用
 /// </summary>
 /// <param name="damage"></param>
 public virtual void Hurt(PlayerHurtAttr _playerHurtAttr)
 {
     PlayerMedi.Player.Hurt(_playerHurtAttr);
 }
Пример #3
0
 public virtual void Hurt(PlayerHurtAttr playerHurtAttr)
 {
 }