i have a Editor script:
public class c1 : StateMachineBehaviour
{
}
and editor:
[CustomEditor(typeof(c1))]
public class c1_Editor : Editor
{
public override bool HasPreviewGUI()
{
return true;
}
}
If you execute public override bool HasPreviewGUI () in the editor for MonoBehaviour
a preview window appears in the inspector, but for the stateMachineBehaviour behavior does not work. help please get the preview window in the stateMachineBehaviour
![alt text][1]
[1]: /storage/temp/174497-безымянныи.png
↧