Closed darth-biomech closed 11 months ago
Some folks helped me with it, and the issue was fixed by changing inheritance to NaughtyInspector
, and replacing the original OnEnable() with
protected override void OnEnable()
{
base.OnEnable();
style.fontStyle = FontStyle.Bold;
style.normal.textColor = Color.white;
}
I've snatched from the web this code that adds an extension for the editor to make
Vector3
with a specific attribute to display a handle so that they could be edited visually in the scene view. However, I noticed that if this code is present in the project at all (Even if it isn't being assigned toMonoBehaviour
) - it breaks many Naughty Attributes, specifically what I've noticed - Rollout and ReadOnly.Could you please suggest what I need to change in this to make it compatible with the NA?