docs.unity.cn
    Show / Hide Table of Contents

    Class EventMachine<TGraph, TMacro>

    Inheritance
    Object
    Object
    Component
    Behaviour
    MonoBehaviour
    LudiqBehaviour
    Machine<TGraph, TMacro>
    EventMachine<TGraph, TMacro>
    ScriptMachine
    StateMachine
    Inherited Members
    Machine<TGraph, TMacro>.nest
    Machine<TGraph, TMacro>.IGraphNester.nest
    Machine<TGraph, TMacro>.IMachine.threadSafeGameObject
    Machine<TGraph, TMacro>.reference
    Machine<TGraph, TMacro>.hasGraph
    Machine<TGraph, TMacro>.graph
    Machine<TGraph, TMacro>.graphData
    Machine<TGraph, TMacro>.IGraphParent.isSerializationRoot
    Machine<TGraph, TMacro>.IGraphParent.serializedObject
    Machine<TGraph, TMacro>.IGraphParent.childGraph
    Machine<TGraph, TMacro>.GetAotStubs(HashSet<Object>)
    Machine<TGraph, TMacro>.isDescriptionValid
    Machine<TGraph, TMacro>.Awake()
    Machine<TGraph, TMacro>.OnEnable()
    Machine<TGraph, TMacro>.OnInstantiateWhileEnabled()
    Machine<TGraph, TMacro>.OnUninstantiateWhileEnabled()
    Machine<TGraph, TMacro>.OnDisable()
    Machine<TGraph, TMacro>.OnDestroy()
    Machine<TGraph, TMacro>.OnValidate()
    Machine<TGraph, TMacro>.GetReference()
    Machine<TGraph, TMacro>.InstantiateNest()
    Machine<TGraph, TMacro>.UninstantiateNest()
    Machine<TGraph, TMacro>.TriggerUnityEvent(String)
    Machine<TGraph, TMacro>.DefaultGraph()
    Machine<TGraph, TMacro>.IGraphParent.DefaultGraph()
    LudiqBehaviour._data
    LudiqBehaviour.ISerializationCallbackReceiver.OnBeforeSerialize()
    LudiqBehaviour.ISerializationCallbackReceiver.OnAfterDeserialize()
    LudiqBehaviour.OnBeforeSerialize()
    LudiqBehaviour.OnAfterSerialize()
    LudiqBehaviour.OnBeforeDeserialize()
    LudiqBehaviour.OnAfterDeserialize()
    LudiqBehaviour.ShowData()
    LudiqBehaviour.ToString()
    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.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.VisualScripting
    Syntax
    public abstract class EventMachine<TGraph, TMacro> : Machine<TGraph, TMacro>, ISerializationCallbackReceiver, IEventMachine, IMachine, IGraphRoot, IGraphNester, IGraphParent, IAotStubbable where TGraph : class, IGraph, new()
        where TMacro : Macro<TGraph>, new()
    Type Parameters
    Name Description
    TGraph
    TMacro

    Methods

    Awake()

    Declaration
    protected override void Awake()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.Awake()

    FixedUpdate()

    Declaration
    protected virtual void FixedUpdate()

    LateUpdate()

    Declaration
    protected virtual void LateUpdate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.OnDestroy()

    OnDisable()

    Declaration
    protected override void OnDisable()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.OnDisable()

    OnDrawGizmos()

    Declaration
    protected virtual void OnDrawGizmos()

    OnDrawGizmosSelected()

    Declaration
    protected virtual void OnDrawGizmosSelected()

    OnEnable()

    Declaration
    protected override void OnEnable()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.OnEnable()

    OnInstantiateWhileEnabled()

    Declaration
    protected override void OnInstantiateWhileEnabled()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.OnInstantiateWhileEnabled()

    OnUninstantiateWhileEnabled()

    Declaration
    protected override void OnUninstantiateWhileEnabled()
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.OnUninstantiateWhileEnabled()

    Start()

    Declaration
    protected virtual void Start()

    TriggerEvent(String)

    Declaration
    protected void TriggerEvent(string name)
    Parameters
    Type Name Description
    String name

    TriggerEvent<TArgs>(String, TArgs)

    Declaration
    protected void TriggerEvent<TArgs>(string name, TArgs args)
    Parameters
    Type Name Description
    String name
    TArgs args
    Type Parameters
    Name Description
    TArgs

    TriggerRegisteredEvent<TArgs>(EventHook, TArgs)

    Declaration
    protected virtual void TriggerRegisteredEvent<TArgs>(EventHook hook, TArgs args)
    Parameters
    Type Name Description
    EventHook hook
    TArgs args
    Type Parameters
    Name Description
    TArgs

    TriggerUnityEvent(String)

    Declaration
    public override void TriggerUnityEvent(string name)
    Parameters
    Type Name Description
    String name
    Overrides
    Unity.VisualScripting.Machine<TGraph, TMacro>.TriggerUnityEvent(System.String)
    Implements
    IEventMachine.TriggerUnityEvent(String)

    TriggerUnregisteredEvent(String)

    Declaration
    protected void TriggerUnregisteredEvent(string name)
    Parameters
    Type Name Description
    String name

    TriggerUnregisteredEvent<TArgs>(EventHook, TArgs)

    Declaration
    protected virtual void TriggerUnregisteredEvent<TArgs>(EventHook hook, TArgs args)
    Parameters
    Type Name Description
    EventHook hook
    TArgs args
    Type Parameters
    Name Description
    TArgs

    Update()

    Declaration
    protected virtual void Update()

    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