13 lines
361 B
C#
13 lines
361 B
C#
[System.Serializable]
|
|
public class ActionDescriptor
|
|
{
|
|
public float duration = 0.5f;
|
|
public string animTrigger = "Interact";
|
|
// 필요하다면 여기에 사운드 이펙트나 파티클 정보를 추가할 수 있습니다.
|
|
}
|
|
|
|
// 명세를 제공하는 인터페이스
|
|
public interface IActionProvider
|
|
{
|
|
ActionDescriptor GetActionDescriptor();
|
|
} |