2026-05-18 애니메이션 설계 수정

This commit is contained in:
2026-05-18 12:44:09 +09:00
parent adcd69c537
commit f2445c30c4
30 changed files with 476 additions and 56 deletions

View File

@@ -145,6 +145,15 @@ public @GameInput()
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""BackDash"",
""type"": ""Button"",
""id"": ""673f5cb8-598b-48d3-bef8-0092cf7f4ba6"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
@@ -250,13 +259,24 @@ public @GameInput()
{
""name"": """",
""id"": ""df4d72ec-012c-413a-862d-1a36d2c5b69a"",
""path"": ""<Keyboard>/space"",
""path"": ""<Keyboard>/leftCtrl"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Roll"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""4c51b02e-aa8f-4242-81e4-ab1c72a512df"",
""path"": ""<Keyboard>/space"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""BackDash"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
}
@@ -271,6 +291,7 @@ public @GameInput()
m_Player_Kick = m_Player.FindAction("Kick", throwIfNotFound: true);
m_Player_Dash = m_Player.FindAction("Dash", throwIfNotFound: true);
m_Player_Roll = m_Player.FindAction("Roll", throwIfNotFound: true);
m_Player_BackDash = m_Player.FindAction("BackDash", throwIfNotFound: true);
}
~@GameInput()
@@ -357,6 +378,7 @@ public int FindBinding(InputBinding bindingMask, out InputAction action)
private readonly InputAction m_Player_Kick;
private readonly InputAction m_Player_Dash;
private readonly InputAction m_Player_Roll;
private readonly InputAction m_Player_BackDash;
/// <summary>
/// Provides access to input actions defined in input action map "Player".
/// </summary>
@@ -393,6 +415,10 @@ public struct PlayerActions
/// </summary>
public InputAction @Roll => m_Wrapper.m_Player_Roll;
/// <summary>
/// Provides access to the underlying input action "Player/BackDash".
/// </summary>
public InputAction @BackDash => m_Wrapper.m_Player_BackDash;
/// <summary>
/// Provides access to the underlying input action map instance.
/// </summary>
public InputActionMap Get() { return m_Wrapper.m_Player; }
@@ -436,6 +462,9 @@ public void AddCallbacks(IPlayerActions instance)
@Roll.started += instance.OnRoll;
@Roll.performed += instance.OnRoll;
@Roll.canceled += instance.OnRoll;
@BackDash.started += instance.OnBackDash;
@BackDash.performed += instance.OnBackDash;
@BackDash.canceled += instance.OnBackDash;
}
/// <summary>
@@ -465,6 +494,9 @@ private void UnregisterCallbacks(IPlayerActions instance)
@Roll.started -= instance.OnRoll;
@Roll.performed -= instance.OnRoll;
@Roll.canceled -= instance.OnRoll;
@BackDash.started -= instance.OnBackDash;
@BackDash.performed -= instance.OnBackDash;
@BackDash.canceled -= instance.OnBackDash;
}
/// <summary>
@@ -547,5 +579,12 @@ public interface IPlayerActions
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnRoll(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "BackDash" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
/// </summary>
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnBackDash(InputAction.CallbackContext context);
}
}