건설 시스템 기초 생성 및 Kaykit Medival 애셋 추가

This commit is contained in:
2026-01-24 14:10:17 +09:00
parent fb6570a992
commit ec37a3261e
109 changed files with 6743 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
""name"": ""Attack"",
""type"": ""Button"",
""id"": ""6c2ab1b8-8984-453a-af3d-a3c78ae1679a"",
""expectedControlType"": ""Button"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
@@ -172,6 +172,33 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Toggle Build Mode"",
""type"": ""Button"",
""id"": ""7a4ed342-2ee3-4884-829b-618df4ba4938"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Rotate"",
""type"": ""Button"",
""id"": ""f8d0fd71-8954-43c6-929d-c2c7ac8fccdf"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Build"",
""type"": ""Button"",
""id"": ""6684a7da-e647-4577-8008-711e30cd37da"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
@@ -559,6 +586,39 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
""action"": ""Crouch"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""4b447936-c61b-4e8c-9d56-8a7fc1c1e488"",
""path"": ""<Keyboard>/b"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Toggle Build Mode"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a237ec8c-67b2-45d1-bff5-e2420af81736"",
""path"": ""<Keyboard>/r"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Rotate"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""99c6ee34-d67d-42aa-94d5-987ee6a08c1f"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Build"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
@@ -1153,6 +1213,9 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
m_Player_Previous = m_Player.FindAction("Previous", throwIfNotFound: true);
m_Player_Next = m_Player.FindAction("Next", throwIfNotFound: true);
m_Player_Sprint = m_Player.FindAction("Sprint", throwIfNotFound: true);
m_Player_ToggleBuildMode = m_Player.FindAction("Toggle Build Mode", throwIfNotFound: true);
m_Player_Rotate = m_Player.FindAction("Rotate", throwIfNotFound: true);
m_Player_Build = m_Player.FindAction("Build", throwIfNotFound: true);
// UI
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
@@ -1255,6 +1318,9 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
private readonly InputAction m_Player_Previous;
private readonly InputAction m_Player_Next;
private readonly InputAction m_Player_Sprint;
private readonly InputAction m_Player_ToggleBuildMode;
private readonly InputAction m_Player_Rotate;
private readonly InputAction m_Player_Build;
/// <summary>
/// Provides access to input actions defined in input action map "Player".
/// </summary>
@@ -1303,6 +1369,18 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
/// </summary>
public InputAction @Sprint => m_Wrapper.m_Player_Sprint;
/// <summary>
/// Provides access to the underlying input action "Player/ToggleBuildMode".
/// </summary>
public InputAction @ToggleBuildMode => m_Wrapper.m_Player_ToggleBuildMode;
/// <summary>
/// Provides access to the underlying input action "Player/Rotate".
/// </summary>
public InputAction @Rotate => m_Wrapper.m_Player_Rotate;
/// <summary>
/// Provides access to the underlying input action "Player/Build".
/// </summary>
public InputAction @Build => m_Wrapper.m_Player_Build;
/// <summary>
/// Provides access to the underlying input action map instance.
/// </summary>
public InputActionMap Get() { return m_Wrapper.m_Player; }
@@ -1355,6 +1433,15 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
@Sprint.started += instance.OnSprint;
@Sprint.performed += instance.OnSprint;
@Sprint.canceled += instance.OnSprint;
@ToggleBuildMode.started += instance.OnToggleBuildMode;
@ToggleBuildMode.performed += instance.OnToggleBuildMode;
@ToggleBuildMode.canceled += instance.OnToggleBuildMode;
@Rotate.started += instance.OnRotate;
@Rotate.performed += instance.OnRotate;
@Rotate.canceled += instance.OnRotate;
@Build.started += instance.OnBuild;
@Build.performed += instance.OnBuild;
@Build.canceled += instance.OnBuild;
}
/// <summary>
@@ -1393,6 +1480,15 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
@Sprint.started -= instance.OnSprint;
@Sprint.performed -= instance.OnSprint;
@Sprint.canceled -= instance.OnSprint;
@ToggleBuildMode.started -= instance.OnToggleBuildMode;
@ToggleBuildMode.performed -= instance.OnToggleBuildMode;
@ToggleBuildMode.canceled -= instance.OnToggleBuildMode;
@Rotate.started -= instance.OnRotate;
@Rotate.performed -= instance.OnRotate;
@Rotate.canceled -= instance.OnRotate;
@Build.started -= instance.OnBuild;
@Build.performed -= instance.OnBuild;
@Build.canceled -= instance.OnBuild;
}
/// <summary>
@@ -1756,6 +1852,27 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
void OnSprint(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Toggle Build Mode" 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 OnToggleBuildMode(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Rotate" 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 OnRotate(InputAction.CallbackContext context);
/// <summary>
/// Method invoked when associated input action "Build" 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 OnBuild(InputAction.CallbackContext context);
}
/// <summary>
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "UI" which allows adding and removing callbacks.