2026-05-15 공격과 피격

This commit is contained in:
2026-05-15 15:28:13 +09:00
parent 764bc305f7
commit ec353d0fd4
81 changed files with 879 additions and 57 deletions

View File

@@ -0,0 +1,26 @@
using System;
using UnityEngine;
public enum ComboInputType
{
Punch,
Kick
}
[Serializable]
public class ComboTransition
{
public ComboInputType Trigger;
public ComboNode Next;
public float ForwardStep = 0f;
public float ForwardStepDuration = 0.1f;
}
[CreateAssetMenu(fileName = "ComboNode", menuName = "Combat/ComboNode")]
public class ComboNode : ScriptableObject
{
public string NodeName;
public AttackData Attack;
public float ComboWindow = 0.8f;
public ComboTransition[] Transitions;
}