using System; namespace Module.Inspector { [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)] public sealed class SerializableReferenceToAttribute : DrawerPropertyAttribute { public readonly bool useType; public readonly Type type; public SerializableReferenceToAttribute() { useType = false; } public SerializableReferenceToAttribute(Type type) { this.type = type; useType = true; } } }