From 1a88edcb8f9e0a4e171d904d5f4cbc2156508b79 Mon Sep 17 00:00:00 2001 From: Krolti <136226278+krolti@users.noreply.github.com> Date: Mon, 8 Jun 2026 12:49:57 +0300 Subject: [PATCH] DOCS: fix typos in summaries. --- .../Editor/Analytics/InputActionsEditorSessionAnalytic.cs | 3 ++- .../InputSystem/Runtime/Actions/InputAction.cs | 2 +- .../InputSystem/Runtime/Actions/InputActionParameters.cs | 4 ++-- .../InputSystem/Runtime/Actions/InputActionReference.cs | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Packages/com.unity.inputsystem/InputSystem/Editor/Analytics/InputActionsEditorSessionAnalytic.cs b/Packages/com.unity.inputsystem/InputSystem/Editor/Analytics/InputActionsEditorSessionAnalytic.cs index 3b6686e078..45a3f4370f 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Editor/Analytics/InputActionsEditorSessionAnalytic.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Editor/Analytics/InputActionsEditorSessionAnalytic.cs @@ -50,7 +50,7 @@ public void RegisterActionEdit() } /// - /// Register than a binding edit has occurred. + /// Register that a binding edit has occurred. /// public void RegisterBindingEdit() { @@ -297,6 +297,7 @@ public Data(Kind kind) /// public int action_modification_count; + /// /// The total number of binding modifications during the session. /// public int binding_modification_count; diff --git a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputAction.cs b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputAction.cs index 7c71490225..895bd936d3 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputAction.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputAction.cs @@ -103,7 +103,7 @@ namespace UnityEngine.InputSystem /// of the action as well as on the interactions (see ) 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), is called and then - /// . Subsequently, whenever the a control further changes value to + /// . Subsequently, whenever a control further changes value to /// anything other than its default value, will be called again. /// Finally, when the control moves back to its default value (i.e. resting position), /// is called. diff --git a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionParameters.cs b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionParameters.cs index bae49a62e6..708733c954 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionParameters.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionParameters.cs @@ -109,7 +109,7 @@ partial class InputActionRebindingExtensions /// parameter from the object registered as "tap" (which will usually be ). /// Index of the binding in 's /// to look for processors, interactions, and composites on. - /// The current value of the given parameter or null if the parameter not could be found. + /// The current value of the given parameter or null if the parameter could not be found. /// /// This method is a variation of /// to specifically target a single binding by index. Otherwise, the method is identical in functionality. @@ -139,7 +139,7 @@ partial class InputActionRebindingExtensions /// name and type of the parameter being looked for. /// Optional mask that determines on which bindings to look for objects with parameters. If used, only /// bindings that match (see ) the given mask will be taken into account. - /// The current value of the given parameter or null if the parameter not could be found. + /// The current value of the given parameter or null if the parameter could not be found. /// /// This method is a variation of /// that encapsulates a reference to the name of the parameter and the type of object it is found on in a way that is diff --git a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionReference.cs b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionReference.cs index c5f2dac4df..9820fad5d2 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionReference.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Runtime/Actions/InputActionReference.cs @@ -110,7 +110,7 @@ public void Set(InputAction action) /// is null or empty -or- /// is null or empty. /// If attempting to mutate a reference object - /// that is backed by by .inputactions asset. This is not allowed to prevent side-effects. + /// that is backed by .inputactions asset. This is not allowed to prevent side-effects. /// No action map called could /// be found in -or- no action called /// could be found in the action map called in .