Enum PlayerNotifications
Determines how the triggering of an action or other input-related events are relayed to other GameObjects.
Namespace: UnityEngine.InputSystem
Syntax
public enum PlayerNotifications : int
Fields
Name | Description | Value |
---|---|---|
BroadcastMessages | Like SendMessages but instead of using |
|
InvokeCSharpEvents | Use plain C# callbacks. |
|
InvokeUnityEvents | Have a separate UnityEvent for each notification. Allows wiring up target methods to invoke such that the connection is persisted in Unity serialized data. See actionEvents and related callbacks such as controlsChangedEvent. |
|
SendMessages | Use The message name will be the name of the action (e.g. "Jump"; it will not include the action map name), and the object will be the PlayerInput on which the action was triggered. If the notification is for an action that was triggered, |