Class EventBus | Bolt Visual Scripting | 1.4.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class EventBus

    Inheritance
    Object
    EventBus
    Namespace: Ludiq.Bolt
    Syntax
    public static class EventBus

    Methods

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

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

    Invoke(EventHook)

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

    Invoke(EventHookID, GameObject)

    Declaration
    public static void Invoke(EventHookID id, GameObject target)
    Parameters
    Type Name Description
    EventHookID id
    GameObject target

    Invoke<TArgs>(EventHook, TArgs)

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

    Invoke<TArgs>(EventHookID, GameObject, TArgs)

    Declaration
    public static void Invoke<TArgs>(EventHookID id, GameObject target, TArgs args)
    Parameters
    Type Name Description
    EventHookID id
    GameObject target
    TArgs args
    Type Parameters
    Name Description
    TArgs

    Remove(EventHook, Delegate)

    Declaration
    public static void Remove(EventHook hook, Delegate handler)
    Parameters
    Type Name Description
    EventHook hook
    Delegate handler
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX