using System; using BansheeEngine; namespace BansheeEditor { /// /// Attribute that can be added to types deriving from . That handle implementation /// will then be used whenever a handle for the type specified in this attribute needs to be displayed. /// [AttributeUsage(AttributeTargets.Class)] public sealed class CustomHandle : Attribute { private Type type; /// /// Creates a new custom handle attribute. /// /// Type deriving from for which the custom handle will be displayed. /// public CustomHandle(Type type) { this.type = type; } } }