네트워크 멀티플레이 환경 문제 수정
관련 문제가 다시 발생하면 이 커밋으로 돌아올 것
This commit is contained in:
@@ -280,6 +280,24 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""StartAsClient"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""3cdb7b19-b155-4d50-bd36-d132b9290400"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""DebugPanel"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""2d93558e-a811-4563-9591-6ef734155d8d"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
}
|
||||
],
|
||||
""bindings"": [
|
||||
@@ -799,6 +817,28 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""action"": ""Cancel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""492d997c-1c69-463e-a63f-dd327d7881b8"",
|
||||
""path"": ""<Keyboard>/c"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""StartAsClient"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""c286789c-b46b-4160-8724-23412c73cb67"",
|
||||
""path"": ""<Keyboard>/backquote"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""DebugPanel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1405,6 +1445,8 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
m_Player_QuickSlot7 = m_Player.FindAction("QuickSlot7", throwIfNotFound: true);
|
||||
m_Player_QuickSlot8 = m_Player.FindAction("QuickSlot8", throwIfNotFound: true);
|
||||
m_Player_Cancel = m_Player.FindAction("Cancel", throwIfNotFound: true);
|
||||
m_Player_StartAsClient = m_Player.FindAction("StartAsClient", throwIfNotFound: true);
|
||||
m_Player_DebugPanel = m_Player.FindAction("DebugPanel", throwIfNotFound: true);
|
||||
// UI
|
||||
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
|
||||
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
|
||||
@@ -1519,6 +1561,8 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
private readonly InputAction m_Player_QuickSlot7;
|
||||
private readonly InputAction m_Player_QuickSlot8;
|
||||
private readonly InputAction m_Player_Cancel;
|
||||
private readonly InputAction m_Player_StartAsClient;
|
||||
private readonly InputAction m_Player_DebugPanel;
|
||||
/// <summary>
|
||||
/// Provides access to input actions defined in input action map "Player".
|
||||
/// </summary>
|
||||
@@ -1615,6 +1659,14 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// </summary>
|
||||
public InputAction @Cancel => m_Wrapper.m_Player_Cancel;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/StartAsClient".
|
||||
/// </summary>
|
||||
public InputAction @StartAsClient => m_Wrapper.m_Player_StartAsClient;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Player/DebugPanel".
|
||||
/// </summary>
|
||||
public InputAction @DebugPanel => m_Wrapper.m_Player_DebugPanel;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action map instance.
|
||||
/// </summary>
|
||||
public InputActionMap Get() { return m_Wrapper.m_Player; }
|
||||
@@ -1703,6 +1755,12 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Cancel.started += instance.OnCancel;
|
||||
@Cancel.performed += instance.OnCancel;
|
||||
@Cancel.canceled += instance.OnCancel;
|
||||
@StartAsClient.started += instance.OnStartAsClient;
|
||||
@StartAsClient.performed += instance.OnStartAsClient;
|
||||
@StartAsClient.canceled += instance.OnStartAsClient;
|
||||
@DebugPanel.started += instance.OnDebugPanel;
|
||||
@DebugPanel.performed += instance.OnDebugPanel;
|
||||
@DebugPanel.canceled += instance.OnDebugPanel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1777,6 +1835,12 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Cancel.started -= instance.OnCancel;
|
||||
@Cancel.performed -= instance.OnCancel;
|
||||
@Cancel.canceled -= instance.OnCancel;
|
||||
@StartAsClient.started -= instance.OnStartAsClient;
|
||||
@StartAsClient.performed -= instance.OnStartAsClient;
|
||||
@StartAsClient.canceled -= instance.OnStartAsClient;
|
||||
@DebugPanel.started -= instance.OnDebugPanel;
|
||||
@DebugPanel.performed -= instance.OnDebugPanel;
|
||||
@DebugPanel.canceled -= instance.OnDebugPanel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2224,6 +2288,20 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnCancel(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "StartAsClient" 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 OnStartAsClient(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "DebugPanel" 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 OnDebugPanel(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