Skip to content

Commit 8634a06

Browse files
committed
Minor formatting update
1 parent 05d23b8 commit 8634a06

File tree

1 file changed

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

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public object Get()
4242
/// <typeparam name="TValue">Type of value to read. This must correspond to the
4343
/// expected by either <see cref="control"/> or, if it is a composite, by the
4444
/// <see cref="InputBindingComposite"/> in use.
45-
/// Common types are float and Vector2, and depend on the type of the associated action</typeparam>
45+
/// The type depends on what type of controls the action is bound to. Common types are float and Vector2</typeparam>
4646
/// <exception cref="InvalidOperationException">The given type <typeparamref name="TValue"/>
4747
/// does not match the value type expected by the control or binding composite.</exception>
4848
/// <remarks>
4949
/// The following example shows how to read a value from a <see cref="PlayerInput"/> message.
50-
///
50+
///
5151
/// <example>
5252
/// <code>
5353
/// [RequireComponent(typeof(PlayerInput))]
@@ -61,7 +61,7 @@ public object Get()
6161
/// // Read value from control. The type depends on what type of controls the action is bound to.
6262
/// m_Move = value.Get&lt;Vector2&gt;();
6363
/// }
64-
///
64+
///
6565
/// public void OnUpdate()
6666
/// {
6767
/// // Update transform from m_Move
@@ -88,7 +88,7 @@ public TValue Get<TValue>()
8888
/// <returns>True if the button is activated over the button threshold. False otherwise</returns>
8989
/// <remarks>
9090
/// The following example shows how to read a value from a <see cref="PlayerInput"/> message.
91-
///
91+
///
9292
/// <example>
9393
/// <code>
9494
/// [RequireComponent(typeof(PlayerInput))]
@@ -101,7 +101,7 @@ public TValue Get<TValue>()
101101
/// {
102102
/// m_Fire = value.isPressed;
103103
/// }
104-
///
104+
///
105105
/// public void OnUpdate()
106106
/// {
107107
/// // Perform fire action if m_Fire is true

0 commit comments

Comments
 (0)