Search Results for

    Show / Hide Table of Contents

    Class PlatformEvent

    A Unity event that will be triggered depending on the platform defined.

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    PlatformEvent
    OnAwakeEvent
    OnDestroyEvent
    OnDisableEvent
    OnEnableEvent
    OnStartEvent
    Namespace: GGL.Events
    Assembly: GGL.dll
    Syntax
    [AddComponentMenu("GG-Library/Events/Platform Event")]
    [HelpURL("https://ggl.yoannhaffner.com/api/GGL.Events.PlatformEvent.html")]
    public abstract class PlatformEvent : MonoBehaviour

    Properties

    | Edit this page View Source

    OnInvoke

    Declaration
    public UnityEvent OnInvoke { get; }
    Property Value
    Type Description
    UnityEvent A Unity event that will be triggered depending on the platform defined.

    Methods

    | Edit this page View Source

    TryInvoke()

    Invoke the event if the current platform matches ith one defined by user.

    Declaration
    public void TryInvoke()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX