Skip to content

Commit 840a017

Browse files
committed
Fixed mixed block error in documentation
1 parent 5511eb6 commit 840a017

File tree

1 file changed

+4
-0
lines changed
  • Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput

1 file changed

+4
-0
lines changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/PlayerInput.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ namespace UnityEngine.InputSystem
5555
/// to the player and a set of paired device.
5656
/// </summary>
5757
/// <remarks>
58+
/// <para>
5859
/// PlayerInput is a high-level wrapper around much of the input system's functionality
5960
/// which is meant to help getting set up with the new input system quickly. It takes
6061
/// care of <see cref="InputAction"/> bookkeeping and has a custom UI(requires the "Unity UI" package) to help
@@ -76,12 +77,14 @@ namespace UnityEngine.InputSystem
7677
/// or <see cref="Instantiate(GameObject,int,string,int,InputDevice)"/>. This also makes it possible
7778
/// to assign the same device to two different players, e.g. for split-keyboard play.
7879
///
80+
/// </para>
7981
/// <code>
8082
/// var p1 = PlayerInput.Instantiate(playerPrefab,
8183
/// controlScheme: "KeyboardLeft", device: Keyboard.current);
8284
/// var p2 = PlayerInput.Instantiate(playerPrefab,
8385
/// controlScheme: "KeyboardRight", device: Keyboard.current);
8486
/// </code>
87+
/// <para>
8588
///
8689
/// If no specific devices are given to a PlayerInput, the component will look for compatible
8790
/// devices present in the system and pair them to itself automatically. If the PlayerInput's
@@ -132,6 +135,7 @@ namespace UnityEngine.InputSystem
132135
///
133136
/// Both behaviors described in the previous two paragraphs are automatically disabled if more than one
134137
/// PlayerInput is active.
138+
/// </para>
135139
/// </remarks>
136140
/// <example>
137141
/// <code>

0 commit comments

Comments
 (0)