using System;
using BansheeEngine;
namespace BansheeEditor
{
///
/// Specifies that a class or a struct uses a custom inspector for GUI display. This attribute can be placed on an
/// implementation of in which case the type must reference a or a
/// . Or it can be placed on an implementation of in which
/// case they type must reference any serializable class/struct, but may also reference an attribute in which case
/// any serializable type with that attribute applied with have a custom inspector.
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public sealed class CustomInspector : Attribute
{
private Type type;
///
/// Creates a new custom inspector attribute.
///
/// Type for which the custom inspector should be displayed.
public CustomInspector(Type type)
{
this.type = type;
}
}
}