SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Class EventManager

    Inheritance
    System.Object
    EventManager
    Namespace: SF.Events
    Assembly: cs.temp.dll.dll
    Syntax
    public static class EventManager

    Methods

    AddListener<EventType>(EventListener<EventType>)

    Declaration
    public static void AddListener<EventType>(EventListener<EventType> listener)
        where EventType : struct
    Parameters
    Type Name Description
    EventListener<EventType> listener
    Type Parameters
    Name Description
    EventType

    DoesListenerExists(Type, EventListenerBase)

    Declaration
    public static bool DoesListenerExists(Type type, EventListenerBase listener)
    Parameters
    Type Name Description
    Type type
    EventListenerBase listener
    Returns
    Type Description
    System.Boolean

    RemoveListener<EventType>(EventListener<EventType>)

    Declaration
    public static void RemoveListener<EventType>(EventListener<EventType> listener)
        where EventType : struct
    Parameters
    Type Name Description
    EventListener<EventType> listener
    Type Parameters
    Name Description
    EventType

    TriggerEvent<EventType>(EventType)

    Declaration
    public static void TriggerEvent<EventType>(EventType newEvent)
        where EventType : struct
    Parameters
    Type Name Description
    EventType newEvent
    Type Parameters
    Name Description
    EventType
    In This Article
    Back to top Generated by DocFX