연속 액션 기능 및 관련 설정 기능 추가

This commit is contained in:
2026-01-18 21:40:29 +09:00
parent a3b27f08c9
commit 733ea30631
7 changed files with 138 additions and 17 deletions

View File

@@ -4,7 +4,12 @@ public abstract class PlayerActionData : ScriptableObject
{
public string actionName;
public float duration; // 액션 자체가 시간을 가짐
public string animTrigger;
public string animTrigger;
public float impactDelay; // 애니메이션 원본 길이 기준 타격 지연 시간
public float baseSpeed = 1f; // 기본 재생 속도 (1.0 = 100%)
[Header("Repeat Settings")]
public bool canRepeat = true; // [추가] 꾹 눌렀을 때 반복할지 여부
// 대상(target)은 있을 수도 있고(채광), 없을 수도 있음(회복/대쉬)
public abstract void ExecuteEffect(GameObject performer, GameObject target);