File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Packages/com.unity.inputsystem/InputSystem/Actions Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1417,12 +1417,14 @@ public unsafe bool WasPerformedThisFrame()
14171417 /// StopTeleport();
14181418 /// </code>
14191419 /// </example>
1420- ///
1420+ /// <para>
14211421 /// This method will disregard whether the action is currently enabled or disabled. It will keep returning
14221422 /// true for the duration of the frame even if the action was subsequently disabled in the frame.
1423- ///
1423+ /// </para>
1424+ /// <para>
14241425 /// The meaning of "frame" is either the current "dynamic" update (<c>MonoBehaviour.Update</c>) or the current
14251426 /// fixed update (<c>MonoBehaviour.FixedUpdate</c>) depending on the value of the <see cref="InputSettings.updateMode"/> setting.
1427+ /// </para>
14261428 /// </remarks>
14271429 /// <seealso cref="WasPerformedThisFrame"/>
14281430 /// <seealso cref="WasReleasedThisFrame"/>
@@ -2058,7 +2060,7 @@ public unsafe double startTime
20582060 /// <remarks>
20592061 /// This property can be used, for example, to determine how long a button
20602062 /// was held down.
2061- ///
2063+ /// </remarks>
20622064 /// <example>
20632065 /// <code>
20642066 /// // Let's create a button action bound to the A button
@@ -2083,7 +2085,6 @@ public unsafe double startTime
20832085 /// };
20842086 /// </code>
20852087 /// </example>
2086- /// </remarks>
20872088 public double duration => time - startTime ;
20882089
20892090 /// <summary>
@@ -2113,7 +2114,8 @@ public unsafe double startTime
21132114 /// <para>
21142115 /// The value of this property determines how many bytes will be written
21152116 /// by <see cref="ReadValue(void*,int)"/>.
2116- ///
2117+ /// </para>
2118+ /// <para>
21172119 /// This property indirectly maps to the value of <see cref="InputControl.valueSizeInBytes"/> or
21182120 /// <see cref="InputBindingComposite{TValue}.valueSizeInBytes"/>.
21192121 /// </para>
You can’t perform that action at this time.
0 commit comments