건설 퀵슬롯 생성
This commit is contained in:
@@ -199,6 +199,78 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot1"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""a2770ad5-abea-4586-89d3-abe1f089a700"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot2"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""3cb693ce-bffe-45a4-8da4-a559ae530b14"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot3"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""2567af20-ee99-4dcd-ae99-054518802343"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot4"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""6755ed3b-f228-4721-9190-49951c828334"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot5"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""29e349bf-7b0a-4697-b3d4-de9b2fcb40e7"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot6"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""ab1ff2fb-1ae4-4554-8e59-51d5df769d09"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot7"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""76ca934f-b1b5-4713-bb89-ead70f878105"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""QuickSlot8"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""75c85d75-4924-45b9-b136-02dff28bb4fd"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
}
|
||||
],
|
||||
""bindings"": [
|
||||
@@ -619,6 +691,94 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""action"": ""Build"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""de0e54c7-cb32-4c9e-867b-291bd28c0683"",
|
||||
""path"": ""<Keyboard>/1"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot1"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""a288feb3-0ce0-49f9-a1a4-7353aeeab7fb"",
|
||||
""path"": ""<Keyboard>/2"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot2"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""90bf2585-bb5e-4faf-9136-fd1220ade8c9"",
|
||||
""path"": ""<Keyboard>/3"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot3"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""82326dad-afdc-4287-a4e9-4827820192bc"",
|
||||
""path"": ""<Keyboard>/4"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot4"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""591efa08-5304-4c8e-b41e-dea9549877d5"",
|
||||
""path"": ""<Keyboard>/5"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot5"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""3d5537cc-1e13-4126-bdbe-2b29a87bd554"",
|
||||
""path"": ""<Keyboard>/6"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot6"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""5b7e3c99-0c87-45d9-be22-070abf3eaa9e"",
|
||||
""path"": ""<Keyboard>/7"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot7"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""596e0582-4f59-497e-a75b-0fbd4515b931"",
|
||||
""path"": ""<Keyboard>/8"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""QuickSlot8"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1216,6 +1376,14 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
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);
|
||||
m_Player_QuickSlot1 = m_Player.FindAction("QuickSlot1", throwIfNotFound: true);
|
||||
m_Player_QuickSlot2 = m_Player.FindAction("QuickSlot2", throwIfNotFound: true);
|
||||
m_Player_QuickSlot3 = m_Player.FindAction("QuickSlot3", throwIfNotFound: true);
|
||||
m_Player_QuickSlot4 = m_Player.FindAction("QuickSlot4", throwIfNotFound: true);
|
||||
m_Player_QuickSlot5 = m_Player.FindAction("QuickSlot5", throwIfNotFound: true);
|
||||
m_Player_QuickSlot6 = m_Player.FindAction("QuickSlot6", throwIfNotFound: true);
|
||||
m_Player_QuickSlot7 = m_Player.FindAction("QuickSlot7", throwIfNotFound: true);
|
||||
m_Player_QuickSlot8 = m_Player.FindAction("QuickSlot8", throwIfNotFound: true);
|
||||
// UI
|
||||
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
|
||||
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
|
||||
@@ -1321,6 +1489,14 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
private readonly InputAction m_Player_ToggleBuildMode;
|
||||
private readonly InputAction m_Player_Rotate;
|
||||
private readonly InputAction m_Player_Build;
|
||||
private readonly InputAction m_Player_QuickSlot1;
|
||||
private readonly InputAction m_Player_QuickSlot2;
|
||||
private readonly InputAction m_Player_QuickSlot3;
|
||||
private readonly InputAction m_Player_QuickSlot4;
|
||||
private readonly InputAction m_Player_QuickSlot5;
|
||||
private readonly InputAction m_Player_QuickSlot6;
|
||||
private readonly InputAction m_Player_QuickSlot7;
|
||||
private readonly InputAction m_Player_QuickSlot8;
|
||||
/// <summary>
|
||||
/// Provides access to input actions defined in input action map "Player".
|
||||
/// </summary>
|
||||
@@ -1381,6 +1557,38 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// </summary>
|
||||
public InputAction @Build => m_Wrapper.m_Player_Build;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot1".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot1 => m_Wrapper.m_Player_QuickSlot1;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot2".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot2 => m_Wrapper.m_Player_QuickSlot2;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot3".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot3 => m_Wrapper.m_Player_QuickSlot3;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot4".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot4 => m_Wrapper.m_Player_QuickSlot4;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot5".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot5 => m_Wrapper.m_Player_QuickSlot5;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot6".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot6 => m_Wrapper.m_Player_QuickSlot6;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot7".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot7 => m_Wrapper.m_Player_QuickSlot7;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/QuickSlot8".
|
||||
/// </summary>
|
||||
public InputAction @QuickSlot8 => m_Wrapper.m_Player_QuickSlot8;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action map instance.
|
||||
/// </summary>
|
||||
public InputActionMap Get() { return m_Wrapper.m_Player; }
|
||||
@@ -1442,6 +1650,30 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Build.started += instance.OnBuild;
|
||||
@Build.performed += instance.OnBuild;
|
||||
@Build.canceled += instance.OnBuild;
|
||||
@QuickSlot1.started += instance.OnQuickSlot1;
|
||||
@QuickSlot1.performed += instance.OnQuickSlot1;
|
||||
@QuickSlot1.canceled += instance.OnQuickSlot1;
|
||||
@QuickSlot2.started += instance.OnQuickSlot2;
|
||||
@QuickSlot2.performed += instance.OnQuickSlot2;
|
||||
@QuickSlot2.canceled += instance.OnQuickSlot2;
|
||||
@QuickSlot3.started += instance.OnQuickSlot3;
|
||||
@QuickSlot3.performed += instance.OnQuickSlot3;
|
||||
@QuickSlot3.canceled += instance.OnQuickSlot3;
|
||||
@QuickSlot4.started += instance.OnQuickSlot4;
|
||||
@QuickSlot4.performed += instance.OnQuickSlot4;
|
||||
@QuickSlot4.canceled += instance.OnQuickSlot4;
|
||||
@QuickSlot5.started += instance.OnQuickSlot5;
|
||||
@QuickSlot5.performed += instance.OnQuickSlot5;
|
||||
@QuickSlot5.canceled += instance.OnQuickSlot5;
|
||||
@QuickSlot6.started += instance.OnQuickSlot6;
|
||||
@QuickSlot6.performed += instance.OnQuickSlot6;
|
||||
@QuickSlot6.canceled += instance.OnQuickSlot6;
|
||||
@QuickSlot7.started += instance.OnQuickSlot7;
|
||||
@QuickSlot7.performed += instance.OnQuickSlot7;
|
||||
@QuickSlot7.canceled += instance.OnQuickSlot7;
|
||||
@QuickSlot8.started += instance.OnQuickSlot8;
|
||||
@QuickSlot8.performed += instance.OnQuickSlot8;
|
||||
@QuickSlot8.canceled += instance.OnQuickSlot8;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1489,6 +1721,30 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Build.started -= instance.OnBuild;
|
||||
@Build.performed -= instance.OnBuild;
|
||||
@Build.canceled -= instance.OnBuild;
|
||||
@QuickSlot1.started -= instance.OnQuickSlot1;
|
||||
@QuickSlot1.performed -= instance.OnQuickSlot1;
|
||||
@QuickSlot1.canceled -= instance.OnQuickSlot1;
|
||||
@QuickSlot2.started -= instance.OnQuickSlot2;
|
||||
@QuickSlot2.performed -= instance.OnQuickSlot2;
|
||||
@QuickSlot2.canceled -= instance.OnQuickSlot2;
|
||||
@QuickSlot3.started -= instance.OnQuickSlot3;
|
||||
@QuickSlot3.performed -= instance.OnQuickSlot3;
|
||||
@QuickSlot3.canceled -= instance.OnQuickSlot3;
|
||||
@QuickSlot4.started -= instance.OnQuickSlot4;
|
||||
@QuickSlot4.performed -= instance.OnQuickSlot4;
|
||||
@QuickSlot4.canceled -= instance.OnQuickSlot4;
|
||||
@QuickSlot5.started -= instance.OnQuickSlot5;
|
||||
@QuickSlot5.performed -= instance.OnQuickSlot5;
|
||||
@QuickSlot5.canceled -= instance.OnQuickSlot5;
|
||||
@QuickSlot6.started -= instance.OnQuickSlot6;
|
||||
@QuickSlot6.performed -= instance.OnQuickSlot6;
|
||||
@QuickSlot6.canceled -= instance.OnQuickSlot6;
|
||||
@QuickSlot7.started -= instance.OnQuickSlot7;
|
||||
@QuickSlot7.performed -= instance.OnQuickSlot7;
|
||||
@QuickSlot7.canceled -= instance.OnQuickSlot7;
|
||||
@QuickSlot8.started -= instance.OnQuickSlot8;
|
||||
@QuickSlot8.performed -= instance.OnQuickSlot8;
|
||||
@QuickSlot8.canceled -= instance.OnQuickSlot8;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1873,6 +2129,62 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnBuild(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot1" 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 OnQuickSlot1(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot2" 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 OnQuickSlot2(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot3" 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 OnQuickSlot3(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot4" 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 OnQuickSlot4(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot5" 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 OnQuickSlot5(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot6" 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 OnQuickSlot6(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot7" 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 OnQuickSlot7(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "QuickSlot8" 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 OnQuickSlot8(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.
|
||||
|
||||
Reference in New Issue
Block a user