public static Type GetEventType(this SerializedEvent serializedEvent) { return(Assembly.GetExecutingAssembly().GetType(serializedEvent.EventTypeName)); }