Hi guys,
namespace MyNamespace
{
public class XYZEditor : UITypeEditor
{
....
}
public class CustomXYZEditor : XYZEditor
{
....
}
}
namespace MyNamespace2
{
//I have an enum
[Editor("MyNamespace.XYZEditor", typeof(UITypeEditor))]
public enum XYZ
{
x,y,z
}
//And, I have a class
public class ABC
{
[Editor("MyNamespace.CustomXYZEditor", typeof(UITypeEditor)]
public XYZ XYZProperty
{
get
{
....
}
set
{
....
}
}
}
}
But some how the XYZProperty does not seem to override the Editor that is present on the XYZ enum type.
Is there a solution for this? or this is how it is?