private void Awake() { eventHandler = this.GetComponent <VRC_EventHandler>(); if (eventHandler == null) { eventHandler = this.GetComponentInParent <VRC_EventHandler>(); } }
} //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0012: Unknown result type (might be due to invalid IL or missing references) private void Start() { Handler = this.GetComponent <VRC_EventHandler>(); if (Handler == null) { Handler = this.GetComponentInParent <VRC_EventHandler>(); } }
public override void Interact() { VRC_EventHandler vRC_EventHandler = this.GetComponent <VRC_EventHandler>(); if (vRC_EventHandler == null) { vRC_EventHandler = this.GetComponentInParent <VRC_EventHandler>(); } if (vRC_EventHandler != null) { vRC_EventHandler.TriggerEvent(EventName, BroadcastType, Networking.LocalPlayer.get_gameObject()); } }
private void Start() { if (this.GetComponentInParent <VRC_PlayerApi>() != null || this.GetComponent <VRC_PlayerApi>() != null) { Object.Destroy(this); } if (Initialize != null) { Initialize(this); } Handler = this.GetComponent <VRC_EventHandler>(); if (Handler == null) { Handler = this.GetComponentInParent <VRC_EventHandler>(); } }
public override void UnregisterEventHandler(VRC_EventHandler handler) { }
public override void TriggerEvent(VRC_EventHandler handler, VRC_EventHandler.VrcEvent e, VRC_EventHandler.VrcBroadcastType broadcast, int instagatorId, float fastForward) { }
public abstract void UnregisterEventHandler(VRC_EventHandler handler);