``` docs(readme): 更新文档说明 - 添加项目使用指南 - 完善API接口说明 - 修正错误的配置示例 ``` 注意:由于您提供的code differences部分为空,以上是一个示例模板。当您有具体的代码变更时,请提供详细的变更内容以便生成更准确的commit message。
19 lines
349 B
C#
19 lines
349 B
C#
using UnityEngine;
|
|
|
|
public abstract class UnitSkill : MonoBehaviour
|
|
{
|
|
protected UnitBase unit;
|
|
|
|
protected virtual void Awake()
|
|
{
|
|
unit = GetComponent<UnitBase>();
|
|
}
|
|
|
|
public abstract void ReleaseSkill();
|
|
|
|
public virtual float ModifyIncomingDamage(float damage, GameObject attacker)
|
|
{
|
|
return damage;
|
|
}
|
|
}
|