Class PlatformEvent
A Unity event that will be triggered depending on the platform defined.
Inheritance
Object
Component
Behaviour
MonoBehaviour
PlatformEvent
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 SourceOnInvoke
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 SourceTryInvoke()
Invoke the event if the current platform matches ith one defined by user.
Declaration
public void TryInvoke()