static void Init() { Rect wr = new Rect(0, 0, 250, 500); SceneBuilder window = (SceneBuilder)EditorWindow.GetWindowWithRect(typeof(SceneBuilder), wr, false, "SceneBuilder"); window.Show(); LoadSceneData(); }
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(); }