Skip to content

Commit aded9d0

Browse files
committed
Fixed formatting in updated classes.
1 parent a1b8585 commit aded9d0

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

Assets/Samples/InGameHints/InGameHintsActions.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,49 @@ namespace UnityEngine.InputSystem.Samples.InGameHints
2727
/// <code>
2828
/// using namespace UnityEngine;
2929
/// using UnityEngine.InputSystem;
30-
///
30+
///
3131
/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface.
3232
/// public class Example : MonoBehaviour, MyActions.IPlayerActions
3333
/// {
3434
/// private MyActions_Actions m_Actions; // Source code representation of asset.
3535
/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map.
36-
///
36+
///
3737
/// void Awake()
3838
/// {
3939
/// m_Actions = new MyActions_Actions(); // Create asset object.
4040
/// m_Player = m_Actions.Player; // Extract action map object.
4141
/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions.
4242
/// }
43-
///
43+
///
4444
/// void OnDestroy()
4545
/// {
4646
/// m_Actions.Dispose(); // Destroy asset object.
4747
/// }
48-
///
48+
///
4949
/// void OnEnable()
5050
/// {
5151
/// m_Player.Enable(); // Enable all actions within map.
5252
/// }
53-
///
53+
///
5454
/// void OnDisable()
5555
/// {
5656
/// m_Player.Disable(); // Disable all actions within map.
5757
/// }
58-
///
58+
///
5959
/// #region Interface implementation of MyActions.IPlayerActions
60-
///
60+
///
6161
/// // Invoked when "Move" action is either started, performed or canceled.
6262
/// public void OnMove(InputAction.CallbackContext context)
6363
/// {
6464
/// Debug.Log($"OnMove: {context.ReadValue&lt;Vector2&gt;()}");
6565
/// }
66-
///
66+
///
6767
/// // Invoked when "Attack" action is either started, performed or canceled.
6868
/// public void OnAttack(InputAction.CallbackContext context)
6969
/// {
7070
/// Debug.Log($"OnAttack: {context.ReadValue&lt;float&gt;()}");
7171
/// }
72-
///
72+
///
7373
/// #endregion
7474
/// }
7575
/// </code>

Assets/Samples/SimpleDemo/SimpleControls.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,49 +25,49 @@
2525
/// <code>
2626
/// using namespace UnityEngine;
2727
/// using UnityEngine.InputSystem;
28-
///
28+
///
2929
/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface.
3030
/// public class Example : MonoBehaviour, MyActions.IPlayerActions
3131
/// {
3232
/// private MyActions_Actions m_Actions; // Source code representation of asset.
3333
/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map.
34-
///
34+
///
3535
/// void Awake()
3636
/// {
3737
/// m_Actions = new MyActions_Actions(); // Create asset object.
3838
/// m_Player = m_Actions.Player; // Extract action map object.
3939
/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions.
4040
/// }
41-
///
41+
///
4242
/// void OnDestroy()
4343
/// {
4444
/// m_Actions.Dispose(); // Destroy asset object.
4545
/// }
46-
///
46+
///
4747
/// void OnEnable()
4848
/// {
4949
/// m_Player.Enable(); // Enable all actions within map.
5050
/// }
51-
///
51+
///
5252
/// void OnDisable()
5353
/// {
5454
/// m_Player.Disable(); // Disable all actions within map.
5555
/// }
56-
///
56+
///
5757
/// #region Interface implementation of MyActions.IPlayerActions
58-
///
58+
///
5959
/// // Invoked when "Move" action is either started, performed or canceled.
6060
/// public void OnMove(InputAction.CallbackContext context)
6161
/// {
6262
/// Debug.Log($"OnMove: {context.ReadValue&lt;Vector2&gt;()}");
6363
/// }
64-
///
64+
///
6565
/// // Invoked when "Attack" action is either started, performed or canceled.
6666
/// public void OnAttack(InputAction.CallbackContext context)
6767
/// {
6868
/// Debug.Log($"OnAttack: {context.ReadValue&lt;float&gt;()}");
6969
/// }
70-
///
70+
///
7171
/// #endregion
7272
/// }
7373
/// </code>

Assets/Tests/InputSystem/InputActionCodeGeneratorActions.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,49 +25,49 @@
2525
/// <code>
2626
/// using namespace UnityEngine;
2727
/// using UnityEngine.InputSystem;
28-
///
28+
///
2929
/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface.
3030
/// public class Example : MonoBehaviour, MyActions.IPlayerActions
3131
/// {
3232
/// private MyActions_Actions m_Actions; // Source code representation of asset.
3333
/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map.
34-
///
34+
///
3535
/// void Awake()
3636
/// {
3737
/// m_Actions = new MyActions_Actions(); // Create asset object.
3838
/// m_Player = m_Actions.Player; // Extract action map object.
3939
/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions.
4040
/// }
41-
///
41+
///
4242
/// void OnDestroy()
4343
/// {
4444
/// m_Actions.Dispose(); // Destroy asset object.
4545
/// }
46-
///
46+
///
4747
/// void OnEnable()
4848
/// {
4949
/// m_Player.Enable(); // Enable all actions within map.
5050
/// }
51-
///
51+
///
5252
/// void OnDisable()
5353
/// {
5454
/// m_Player.Disable(); // Disable all actions within map.
5555
/// }
56-
///
56+
///
5757
/// #region Interface implementation of MyActions.IPlayerActions
58-
///
58+
///
5959
/// // Invoked when "Move" action is either started, performed or canceled.
6060
/// public void OnMove(InputAction.CallbackContext context)
6161
/// {
6262
/// Debug.Log($"OnMove: {context.ReadValue&lt;Vector2&gt;()}");
6363
/// }
64-
///
64+
///
6565
/// // Invoked when "Attack" action is either started, performed or canceled.
6666
/// public void OnAttack(InputAction.CallbackContext context)
6767
/// {
6868
/// Debug.Log($"OnAttack: {context.ReadValue&lt;float&gt;()}");
6969
/// }
70-
///
70+
///
7171
/// #endregion
7272
/// }
7373
/// </code>

0 commit comments

Comments
 (0)