Пример #1
0
        static void Init()
        {
            Rect         wr     = new Rect(0, 0, 250, 500);
            SceneBuilder window = (SceneBuilder)EditorWindow.GetWindowWithRect(typeof(SceneBuilder), wr, false, "SceneBuilder");

            window.Show();

            LoadSceneData();
        }
Пример #2
0
        static void Init()
        {
            Rect         wr     = new Rect(0, 0, 250, 500);
            SceneBuilder window = (SceneBuilder)EditorWindow.GetWindowWithRect(typeof(SceneBuilder), wr, false, "SceneBuilder");

            window.Show();
            if (PlayerPrefs.HasKey("TargetPlatform"))
            {
                runtimePlatform = (BuildTarget)PlayerPrefs.GetInt("TargetPlatform");
            }
            LoadSceneData();
        }