Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void RegisterActionEdit()
}

/// <summary>
/// Register than a binding edit has occurred.
/// Register that a binding edit has occurred.
/// </summary>
public void RegisterBindingEdit()
{
Expand Down Expand Up @@ -297,6 +297,7 @@ public Data(Kind kind)
/// </summary>
public int action_modification_count;

/// <summary>
/// The total number of binding modifications during the session.
/// </summary>
public int binding_modification_count;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ namespace UnityEngine.InputSystem
/// of the action as well as on the interactions (see <see cref="IInputInteraction"/>) present
/// on the bindings of the action. The default behavior is that when a control is actuated
/// (that is, moving away from its resting position), <see cref="started"/> is called and then
/// <see cref="performed"/>. Subsequently, whenever the a control further changes value to
/// <see cref="performed"/>. Subsequently, whenever a control further changes value to
/// anything other than its default value, <see cref="performed"/> will be called again.
/// Finally, when the control moves back to its default value (i.e. resting position),
/// <see cref="canceled"/> is called.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ partial class InputActionRebindingExtensions
/// parameter from the object registered as <c>"tap"</c> (which will usually be <see cref="Interactions.TapInteraction"/>).</param>
/// <param name="bindingIndex">Index of the binding in <paramref name="action"/>'s <see cref="InputAction.bindings"/>
/// to look for processors, interactions, and composites on.</param>
/// <returns>The current value of the given parameter or <c>null</c> if the parameter not could be found.</returns>
/// <returns>The current value of the given parameter or <c>null</c> if the parameter could not be found.</returns>
/// <remarks>
/// This method is a variation of <see cref="ApplyParameterOverride(InputActionMap,string,PrimitiveValue,InputBinding)"/>
/// to specifically target a single binding by index. Otherwise, the method is identical in functionality.
Expand Down Expand Up @@ -139,7 +139,7 @@ partial class InputActionRebindingExtensions
/// name and type of the parameter being looked for.</param>
/// <param name="bindingMask">Optional mask that determines on which bindings to look for objects with parameters. If used, only
/// bindings that match (see <see cref="InputBinding.Matches"/>) the given mask will be taken into account.</param>
/// <returns>The current value of the given parameter or <c>null</c> if the parameter not could be found.</returns>
/// <returns>The current value of the given parameter or <c>null</c> if the parameter could not be found.</returns>
/// <remarks>
/// This method is a variation of <see cref="ApplyParameterOverride(InputActionMap,string,PrimitiveValue,InputBinding)"/>
/// that encapsulates a reference to the name of the parameter and the type of object it is found on in a way that is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void Set(InputAction action)
/// <paramref name="mapName"/> is <c>null</c> or empty -or- <paramref name="actionName"/>
/// is <c>null</c> or empty.</exception>
/// <exception cref="InvalidOperationException">If attempting to mutate a reference object
/// that is backed by by .inputactions asset. This is not allowed to prevent side-effects.</exception>
/// that is backed by .inputactions asset. This is not allowed to prevent side-effects.</exception>
/// <exception cref="ArgumentException">No action map called <paramref name="mapName"/> could
/// be found in <paramref name="asset"/> -or- no action called <paramref name="actionName"/>
/// could be found in the action map called <paramref name="mapName"/> in <paramref name="asset"/>.</exception>
Expand Down