docs.unity.cn
    Show / Hide Table of Contents

    Class MessageListener

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    MessageListener
    UnityMessageListener
    UnityOnBecameInvisibleMessageListener
    UnityOnBecameVisibleMessageListener
    UnityOnBeginDragMessageListener
    UnityOnButtonClickMessageListener
    UnityOnCancelMessageListener
    UnityOnDeselectMessageListener
    UnityOnDragMessageListener
    UnityOnDropdownValueChangedMessageListener
    UnityOnDropMessageListener
    UnityOnEndDragMessageListener
    UnityOnInputFieldEndEditMessageListener
    UnityOnInputFieldValueChangedMessageListener
    UnityOnJointBreakMessageListener
    UnityOnMouseDownMessageListener
    UnityOnMouseDragMessageListener
    UnityOnMouseEnterMessageListener
    UnityOnMouseExitMessageListener
    UnityOnMouseOverMessageListener
    UnityOnMouseUpAsButtonMessageListener
    UnityOnMouseUpMessageListener
    UnityOnMoveMessageListener
    UnityOnParticleCollisionMessageListener
    UnityOnPointerClickMessageListener
    UnityOnPointerDownMessageListener
    UnityOnPointerEnterMessageListener
    UnityOnPointerExitMessageListener
    UnityOnPointerUpMessageListener
    UnityOnScrollbarValueChangedMessageListener
    UnityOnScrollMessageListener
    UnityOnScrollRectValueChangedMessageListener
    UnityOnSelectMessageListener
    UnityOnSliderValueChangedMessageListener
    UnityOnSubmitMessageListener
    UnityOnToggleValueChangedMessageListener
    UnityOnTransformChildrenChangedMessageListener
    UnityOnTransformParentChangedMessageListener
    Inherited Members
    MonoBehaviour.IsInvoking()
    MonoBehaviour.CancelInvoke()
    MonoBehaviour.Invoke(String, Single)
    MonoBehaviour.InvokeRepeating(String, Single, Single)
    MonoBehaviour.CancelInvoke(String)
    MonoBehaviour.IsInvoking(String)
    MonoBehaviour.StartCoroutine(String)
    MonoBehaviour.StartCoroutine(String, Object)
    MonoBehaviour.StartCoroutine(IEnumerator)
    MonoBehaviour.StartCoroutine_Auto(IEnumerator)
    MonoBehaviour.StopCoroutine(IEnumerator)
    MonoBehaviour.StopCoroutine(Coroutine)
    MonoBehaviour.StopCoroutine(String)
    MonoBehaviour.StopAllCoroutines()
    MonoBehaviour.print(Object)
    MonoBehaviour.useGUILayout
    MonoBehaviour.runInEditMode
    Behaviour.enabled
    Behaviour.isActiveAndEnabled
    Component.GetComponent(Type)
    Component.GetComponent<T>()
    Component.TryGetComponent(Type, Component)
    Component.TryGetComponent<T>(T)
    Component.GetComponent(String)
    Component.GetComponentInChildren(Type, Boolean)
    Component.GetComponentInChildren(Type)
    Component.GetComponentInChildren<T>(Boolean)
    Component.GetComponentInChildren<T>()
    Component.GetComponentsInChildren(Type, Boolean)
    Component.GetComponentsInChildren(Type)
    Component.GetComponentsInChildren<T>(Boolean)
    Component.GetComponentsInChildren<T>(Boolean, List<T>)
    Component.GetComponentsInChildren<T>()
    Component.GetComponentsInChildren<T>(List<T>)
    Component.GetComponentInParent(Type, Boolean)
    Component.GetComponentInParent(Type)
    UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
    Component.GetComponentInParent<T>()
    Component.GetComponentsInParent(Type, Boolean)
    Component.GetComponentsInParent(Type)
    Component.GetComponentsInParent<T>(Boolean)
    Component.GetComponentsInParent<T>(Boolean, List<T>)
    Component.GetComponentsInParent<T>()
    Component.GetComponents(Type)
    Component.GetComponents(Type, List<Component>)
    Component.GetComponents<T>(List<T>)
    Component.GetComponents<T>()
    Component.CompareTag(String)
    Component.SendMessageUpwards(String, Object, SendMessageOptions)
    Component.SendMessageUpwards(String, Object)
    Component.SendMessageUpwards(String)
    Component.SendMessageUpwards(String, SendMessageOptions)
    Component.SendMessage(String, Object)
    Component.SendMessage(String)
    Component.SendMessage(String, Object, SendMessageOptions)
    Component.SendMessage(String, SendMessageOptions)
    Component.BroadcastMessage(String, Object, SendMessageOptions)
    Component.BroadcastMessage(String, Object)
    Component.BroadcastMessage(String)
    Component.BroadcastMessage(String, SendMessageOptions)
    Component.transform
    Component.gameObject
    Component.tag
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.VisualScripting
    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

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    EditorUnityObjectUtility.GetPrefabDefinition(Object)
    EditorUnityObjectUtility.IsPrefabInstance(Object)
    EditorUnityObjectUtility.IsPrefabDefinition(Object)
    EditorUnityObjectUtility.IsConnectedPrefabInstance(Object)
    EditorUnityObjectUtility.IsDisconnectedPrefabInstance(Object)
    EditorUnityObjectUtility.IsSceneBound(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    ComponentHolderProtocol.IsComponentHolder(Object)
    ComponentHolderProtocol.GameObject(Object)
    ComponentHolderProtocol.AddComponent<T>(Object)
    ComponentHolderProtocol.GetOrAddComponent<T>(Object)
    ComponentHolderProtocol.GetComponent<T>(Object)
    ComponentHolderProtocol.GetComponentInChildren<T>(Object)
    ComponentHolderProtocol.GetComponentInParent<T>(Object)
    ComponentHolderProtocol.GetComponents<T>(Object)
    ComponentHolderProtocol.GetComponentsInChildren<T>(Object)
    ComponentHolderProtocol.GetComponentsInParent<T>(Object)
    ComponentHolderProtocol.GetComponent(Object, Type)
    ComponentHolderProtocol.GetComponentInChildren(Object, Type)
    ComponentHolderProtocol.GetComponentInParent(Object, Type)
    ComponentHolderProtocol.GetComponents(Object, Type)
    ComponentHolderProtocol.GetComponentsInChildren(Object, Type)
    ComponentHolderProtocol.GetComponentsInParent(Object, Type)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsDestroyed(Object)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    UnityObjectUtility.ToSafeString(Object)
    UnityObjectUtility.AsUnityNull<T>(T)
    Icons.Icon(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, August 4, 2023