public static void ShowWindow() { window = EditorWindow.GetWindow <TreeNodeWindow>(); window.position = windowsPosition; window.autoRepaintOnSceneChange = true; window.Show(); }
public static void ShowWindow() { window = EditorWindow.GetWindow <TreeNodeWindow>(); window.position = windowsPosition; window.autoRepaintOnSceneChange = true; window.Show(); EditorPrefs.SetFloat(BehaviorTreeX, windowsPosition.x); EditorPrefs.SetFloat(BehaviorTreeY, windowsPosition.y); EditorPrefs.SetFloat(BehaviorTreeWidth, windowsPosition.width); EditorPrefs.SetFloat(BehaviorTreeHeight, windowsPosition.height); }