Class MessageListener
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Core.dll
Syntax
[AddComponentMenu("")]
[IncludeInSettings(false)]
public abstract class MessageListener : MonoBehaviour
Properties
listenerTypes
Declaration
[Obsolete("listenerTypes is deprecated", false)]
public static Type[] listenerTypes { get; }
Property Value
Type | Description |
---|---|
Type[] |
Methods
AddTo(Type, GameObject)
Declaration
public static void AddTo(Type messageListenerType, GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
Type | messageListenerType | |
GameObject | gameObject |
AddTo(GameObject)
Declaration
[Obsolete("Use the overload with a messageListenerType parameter instead", false)]
public static void AddTo(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject |