Immerseum.VRSimulator Namespace > EventManager Class : OnInitializePlayAreaEnd Event |
public event EventManager.InitializePlayAreaEndAction OnInitializePlayAreaEnd
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnInitializePlayAreaEnd += myCustomListener; } void OnDisable() { EventManager.OnInitializePlayAreaEnd -= myCustomListener; } void myCustomListener() { // Custom listener logic goes here. } }