public static void Dispatch <T>(T data) where T : BaseEventData { GenericEvent <T> .Dispatch(data); }