14 lines
342 B
C#
14 lines
342 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Actions {
|
|
public abstract class BaseAction : MonoBehaviour {
|
|
protected bool IsActive;
|
|
protected Action OnActionComplete;
|
|
protected Unit Unit;
|
|
|
|
protected virtual void Awake() => Unit = GetComponent<Unit>();
|
|
|
|
public abstract string GetActionName();
|
|
}
|
|
} |