액션 및 인터랙션 정의 및 기존 인터랙션 및 채광 코드 구조 개선

This commit is contained in:
2026-01-17 22:53:29 +09:00
parent 8369e4d42f
commit 9b13f439e3
22 changed files with 295 additions and 670 deletions

View File

@@ -0,0 +1,11 @@
using UnityEngine;
public abstract class PlayerActionData : ScriptableObject
{
public string actionName;
public float duration; // 액션 자체가 시간을 가짐
public string animTrigger;
// 대상(target)은 있을 수도 있고(채광), 없을 수도 있음(회복/대쉬)
public abstract void ExecuteEffect(GameObject performer, GameObject target);
}