示例#1
0
        /**
         * <summary>Initialises the window.</summary>
         */
        public static void Init()
        {
            SceneAttributesWindow window = (SceneAttributesWindow)EditorWindow.GetWindow(typeof(SceneAttributesWindow));

            UnityVersionHandler.SetWindowTitle(window, "Scene attributes");
            window.position = new Rect(300, 200, 350, 360);
        }
        /**
         * <summary>Initialises the window.</summary>
         */
        public static void Init()
        {
            SceneAttributesWindow window = (SceneAttributesWindow)EditorWindow.GetWindow(typeof(SceneAttributesWindow));

            window.titleContent.text = "Scene attributes";
            window.position          = new Rect(300, 200, 350, 360);
        }