/// <summary> /// Raises a Lua event with the specified name and caller object. /// </summary> /// <param name="eventName">The name of the event. Scripts use this to check what type of event occurred.</param> /// <param name="caller">The caller of the event. Scripts can use this to check if they should handle this event.</param> public static void RaiseEvent(string eventName, object caller) { LuaEvent?.Invoke(eventName, caller); }