// This class is auto generated using System; using System.Collections.Generic; namespace NaughtyAttributes.Editor { public static class NativePropertyDrawerDatabase { private static Dictionary drawersByAttributeType; static NativePropertyDrawerDatabase() { drawersByAttributeType = new Dictionary(); drawersByAttributeType[typeof(ShowNativePropertyAttribute)] = new ShowNativePropertyNativePropertyDrawer(); } public static NativePropertyDrawer GetDrawerForAttribute(Type attributeType) { NativePropertyDrawer drawer; if (drawersByAttributeType.TryGetValue(attributeType, out drawer)) { return drawer; } else { return null; } } } }