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