Quantcast
Channel: Questions in topic: "state machine"
Viewing all articles
Browse latest Browse all 42

not showing onPreviewGUI in StateMachineBehaviour Editor

$
0
0
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

Viewing all articles
Browse latest Browse all 42

Trending Articles