diff --git a/Packages/com.unity.inputsystem/InputSystem/State/InputStateHistory.cs b/Packages/com.unity.inputsystem/InputSystem/State/InputStateHistory.cs index 12c0f27924..e22515fb91 100644 --- a/Packages/com.unity.inputsystem/InputSystem/State/InputStateHistory.cs +++ b/Packages/com.unity.inputsystem/InputSystem/State/InputStateHistory.cs @@ -388,7 +388,7 @@ public unsafe Record RecordStateChange(InputControl control, InputEventPtr event /// Record a state change for a specific control. /// /// The control to record the state change for. - /// The current event data to record. + /// The current state data to record. /// Time stamp to apply (overriding the event timestamp) /// The newly added record. /// @@ -841,7 +841,7 @@ internal Record(InputStateHistory owner, int index, RecordHeader* header) /// /// Returns value from the control in the Record. /// - /// + /// The type of the value being read /// Returns value from the Record. /// When the record is no longer value or the specified type is not present. public TValue ReadValue() @@ -1025,6 +1025,7 @@ public override string ToString() /// /// Records value changes of a given control over time. /// + /// The type of the record being stored /// /// This class makes it easy to track input values over time. It will automatically retain input state up to a given /// maximum history depth (). When the history is full, it will start overwriting the oldest @@ -1033,7 +1034,6 @@ public override string ToString() /// The class listens to changes on the given controls by adding change monitors () /// to each control. /// - /// public class InputStateHistory : InputStateHistory, IReadOnlyList.Record> where TValue : struct {