File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Packages/com.unity.inputsystem/InputSystem/Controls Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ public ButtonControl()
107107 /// The default format for the control is <see cref="InputStateBlock.FormatBit"/>.
108108 /// The control's minimum value is set to 0 and the maximum value to 1.
109109 /// See <see cref="InputSettings.defaultButtonPressPoint"/> for the default press point.
110+ /// </remarks>
110111 /// <example>
111112 /// <code>
112113 /// using UnityEngine;
@@ -133,7 +134,6 @@ public ButtonControl()
133134 /// }
134135 /// </code>
135136 /// </example>
136- /// </remarks>
137137 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
138138 public new bool IsValueConsideredPressed ( float value )
139139 {
@@ -318,8 +318,8 @@ public bool wasPressedThisFrame
318318 /// {
319319 /// void Update()
320320 /// {
321- /// bool buttonPressed = Gamepad.current.aButton.wasReleasedThisFrame;
322- /// bool spaceKeyPressed = Keyboard.current.spaceKey.wasReleasedThisFrame;
321+ /// bool buttonReleased = Gamepad.current.aButton.wasReleasedThisFrame;
322+ /// bool spaceKeyReleased = Keyboard.current.spaceKey.wasReleasedThisFrame;
323323 /// }
324324 /// }
325325 /// </code>
You can’t perform that action at this time.
0 commit comments