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;
|
|
}
|
|
}
|