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