public void DoRequest() { if (ARWServer.instance == null) { return; } ARWEvent currentEvent = ARWEvents.allEvents.Where(a => a.eventName == this.eventName).FirstOrDefault(); if (currentEvent != null) { currentEvent.p_handler(this.arwObject, this.specialRequestParam); } }
public void AddEventHandlers(ARWEvent arwEvent, ARWEventHandler eventHandler) { arwEvent.handler += eventHandler; }