연속 액션 기능 및 관련 설정 기능 추가
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user