@@ -2191,11 +2191,11 @@ public unsafe void ReadValue(void* buffer, int bufferSize)
21912191 /// <exception cref="InvalidOperationException">The given type <typeparamref name="TValue"/>
21922192 /// does not match the value type expected by the control or binding composite.</exception>
21932193 /// <seealso cref="InputAction.ReadValue{TValue}"/>
2194- /// <seealso cref="ReadValue(void*,int) "/>
2194+ /// <seealso cref="ReadValue"/>
21952195 /// <seealso cref="ReadValueAsObject"/>
21962196 /// <remarks>
21972197 /// The following example shows how to read the current value of a specific type:
2198- ///
2198+ /// </remarks>
21992199 /// <example>
22002200 /// <code>
22012201 /// using UnityEngine;
@@ -2229,7 +2229,6 @@ public unsafe void ReadValue(void* buffer, int bufferSize)
22292229 /// }
22302230 /// </code>
22312231 /// </example>
2232- /// </remarks>
22332232 public TValue ReadValue < TValue > ( )
22342233 where TValue : struct
22352234 {
@@ -2253,6 +2252,7 @@ public TValue ReadValue<TValue>()
22532252 /// If the currently active control is a <see cref="ButtonControl"/>, the <see cref="ButtonControl.pressPoint"/>
22542253 /// of the button will be taken into account (if set). If there is no custom button press point, the
22552254 /// global <see cref="InputSettings.defaultButtonPressPoint"/> will be used.
2255+ /// </remarks>
22562256 /// <example>
22572257 /// <code>
22582258 /// using UnityEngine;
@@ -2286,7 +2286,6 @@ public TValue ReadValue<TValue>()
22862286 /// }
22872287 /// </code>
22882288 /// </example>
2289- /// </remarks>
22902289 /// <seealso cref="InputSettings.defaultButtonPressPoint"/>
22912290 /// <seealso cref="ButtonControl.pressPoint"/>
22922291 public bool ReadValueAsButton ( )
@@ -2306,6 +2305,7 @@ public bool ReadValueAsButton()
23062305 /// <remarks>
23072306 /// This method allocates GC heap memory due to boxing. Using it during normal gameplay will lead
23082307 /// to frame-rate instabilities.
2308+ /// </remarks>
23092309 /// <example>
23102310 /// <code>
23112311 /// using UnityEngine;
@@ -2343,7 +2343,6 @@ public bool ReadValueAsButton()
23432343 /// }
23442344 /// </code>
23452345 /// </example>
2346- /// </remarks>
23472346 /// <seealso cref="ReadValue{TValue}"/>
23482347 /// <seealso cref="InputAction.ReadValueAsObject"/>
23492348 public object ReadValueAsObject ( )
@@ -2360,7 +2359,7 @@ public object ReadValueAsObject()
23602359 /// <remarks>
23612360 /// The following example illustrates how to log callback context to console when a callback is received
23622361 /// for debugging purposes:
2363- ///
2362+ /// </remarks>
23642363 /// <example>
23652364 /// <code>
23662365 /// using UnityEngine;
@@ -2388,7 +2387,6 @@ public object ReadValueAsObject()
23882387 /// }
23892388 /// </code>
23902389 /// </example>
2391- /// </remarks>
23922390 public override string ToString ( )
23932391 {
23942392 return $ "{{ action={ action } phase={ phase } time={ time } control={ control } value={ ReadValueAsObject ( ) } interaction={ interaction } }}";
0 commit comments