예제 #1
0
        public static void CreateEditor()
        {
            BonWindow window = EditorWindow.GetWindow <BonWindow>();

            window.wantsMouseMove = true;
            window.Show();
        }
예제 #2
0
        static void OnCreateWindow()
        {
            BonWindow window = GetWindow <BonWindow>();

            // BonWindow window = CreateInstance<BonWindow>(); // to create a new window
            window.Show();
        }