@@ -120,6 +120,8 @@ namespace UnityEngine.InputSystem
120120 ///
121121 /// <example>
122122 /// <code>
123+ /// using UnityEngine;
124+ /// using UnityEngine.InputSystem;
123125 /// // Component to sit next to PlayerInput.
124126 /// [RequireComponent(typeof(PlayerInput))]
125127 /// public class MyPlayerLogic : MonoBehaviour
@@ -615,6 +617,8 @@ public ControlsChangedEvent controlsChangedEvent
615617 ///
616618 /// <example>
617619 /// <code>
620+ /// using UnityEngine;
621+ /// using UnityEngine.InputSystem;
618622 /// // Component to sit next to PlayerInput.
619623 /// [RequireComponent(typeof(PlayerInput))]
620624 /// public class MyPlayerLogic : MonoBehaviour
@@ -665,6 +669,8 @@ public event Action<InputAction.CallbackContext> onActionTriggered
665669 /// The argument is the player that lost its device (i.e. the player on which the callback is installed).
666670 /// <example>
667671 /// <code>
672+ /// using UnityEngine;
673+ /// using UnityEngine.InputSystem;
668674 /// // Component to sit next to PlayerInput.
669675 /// [RequireComponent(typeof(PlayerInput))]
670676 /// public class MyPlayerLogic : MonoBehaviour
@@ -712,6 +718,8 @@ public event Action<PlayerInput> onDeviceLost
712718 /// The argument is the player that regained a device (i.e. the player on which the callback is installed).
713719 /// <example>
714720 /// <code>
721+ /// using UnityEngine;
722+ /// using UnityEngine.InputSystem;
715723 /// // Component to sit next to PlayerInput.
716724 /// [RequireComponent(typeof(PlayerInput))]
717725 /// public class MyPlayerLogic : MonoBehaviour
@@ -759,6 +767,8 @@ public event Action<PlayerInput> onDeviceRegained
759767 /// keyboard layout (see <see cref="Keyboard.keyboardLayout"/>) changes.
760768 /// <example>
761769 /// <code>
770+ /// using UnityEngine;
771+ /// using UnityEngine.InputSystem;
762772 /// // Component to sit next to PlayerInput.
763773 /// [RequireComponent(typeof(PlayerInput))]
764774 /// public class MyPlayerLogic : MonoBehaviour
@@ -1899,6 +1909,8 @@ private void OnDisable()
18991909 /// <remarks>
19001910 /// <example>
19011911 /// <code>
1912+ /// using UnityEngine;
1913+ /// using UnityEngine.InputSystem;
19021914 /// // Component to sit next to PlayerInput.
19031915 /// [RequireComponent(typeof(PlayerInput))]
19041916 /// public class MyPlayerLogic : MonoBehaviour
0 commit comments