docs.unity3d.com
    目次を表示する/隠す

    Class EventBus

    Inheritance
    Object
    EventBus
    Namespace: Unity.VisualScripting
    Syntax
    public static class EventBus

    Methods

    Register<TArgs>(EventHook, Action<TArgs>)

    Declaration
    public static void Register<TArgs>(EventHook hook, Action<TArgs> handler)
    Parameters
    Type Name Description
    EventHook hook
    Action<TArgs> handler
    Type Parameters
    Name Description
    TArgs

    Trigger(String, GameObject)

    Declaration
    public static void Trigger(string name, GameObject target)
    Parameters
    Type Name Description
    String name
    GameObject target

    Trigger(EventHook)

    Declaration
    public static void Trigger(EventHook hook)
    Parameters
    Type Name Description
    EventHook hook

    Trigger<TArgs>(String, GameObject, TArgs)

    Declaration
    public static void Trigger<TArgs>(string name, GameObject target, TArgs args)
    Parameters
    Type Name Description
    String name
    GameObject target
    TArgs args
    Type Parameters
    Name Description
    TArgs

    Trigger<TArgs>(EventHook, TArgs)

    Declaration
    public static void Trigger<TArgs>(EventHook hook, TArgs args)
    Parameters
    Type Name Description
    EventHook hook
    TArgs args
    Type Parameters
    Name Description
    TArgs

    Unregister(EventHook, Delegate)

    Declaration
    public static void Unregister(EventHook hook, Delegate handler)
    Parameters
    Type Name Description
    EventHook hook
    Delegate handler
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)