Exemple #1
0
        /// <summary>
        /// If current scene have the mission, the mission scene will be loaded.
        /// If current scene does`t have the mission, anonymous scene will be loaded.
        /// </summary>
        /// <returns>Is current scene have the mission</returns>
        public bool LoadCurrentMissionScene(LoadMissionBy loadmissionBy = LoadMissionBy.None)
        {
            SceneLookupEnum currentScene = GameSceneManager.Instance.GetCurrentSceneEnum();

            if (IsGameSceneExistCurrentMission(currentScene))
            {
                LoadMissionScene(m_currentMission, loadmissionBy);
                return(true);
            }
            else
            {
                LoadMissionScene(MissionEnum.None, loadmissionBy);
                Debug.LogWarning(currentScene + " is not exist mission " + MissionSceneManager.Instance.GetCurrentMissionEnum().ToString());
                return(false);
            }
        }
Exemple #2
0
        public void LoadScene(SceneLookupEnum key, LoadSceneMode loadSceneMode)
        {
            var scene = Addressables.LoadScene(SceneLookup.GetString(key), loadSceneMode);

            scene.Completed += (result) =>
            {
                if (result.Status == AsyncOperationStatus.Succeeded)
                {
                    m_scene.Add(key, result.Result);
                }
                else
                {
                    Debug.LogError($"场景======{key} 加载失败!!!");
                }
            };
        }
Exemple #3
0
        public void SpawnPlayer()
        {
            SceneLookupEnum sceneEnum    = MissionSceneManager.Instance.GetCurrentMissionScene();
            Scene           missionScene = SceneManager.GetSceneByName(sceneEnum.ToString());

            GameObject [] gameObjects = missionScene.GetRootGameObjects();

            //Teleport from another scene
            m_player.transform.position = Vector3.zero;

            SceneLookupEnum lastGameScene = GameSceneManager.Instance.GetLastSceneEnum();

            //Direct find spawn point
            foreach (GameObject go in gameObjects)
            {
                if (go.name == ConfigMission.Instance.Text_Spawn_Point_Name)
                {
                    if (m_player != null)
                    {
                        m_player.transform.position =
                            new Vector3(go.transform.position.x, go.transform.position.y + 0.5f, go.transform.position.z);
                        m_player.SetActive(true);
                        return;
                    }
                }
            }
            if (lastGameScene != SceneLookupEnum.World_GameRoot)
            {
                WorldTriggerCallbackTeleportPlayer[] teleports = GameObject.FindObjectsOfType <WorldTriggerCallbackTeleportPlayer>();
                foreach (WorldTriggerCallbackTeleportPlayer teleport in teleports)
                {
                    if (teleport.IsCGScene() == true)
                    {
                        continue;
                    }
                    if (teleport.GetTeleportScene() == lastGameScene)
                    {
                        Vector3 direction = WorldTriggerCallbackTeleportPlayer.DirecitonMapping[teleport.m_spawnDirection];
                        direction *= teleport.m_lengthBetweenTriggerAndSpwanPoint;
                        m_player.transform.position = teleport.transform.position + direction + new Vector3(0.0f, 0.5f, 0.0f);
                        m_player.SetActive(true);
                        return;
                    }
                }
            }
            Debug.LogError("Can not find spawn point!");
        }
Exemple #4
0
 public bool LoadScene(SceneLookupEnum requestSceneEnum)
 {
     if (SceneLookup.IsSceneExist(requestSceneEnum))
     {
         if (m_currentSceneEnum != SceneLookupEnum.World_GameRoot)
         {
             PrefabManager.Instance.UnloadScene(m_currentSceneEnum);
         }
         SetCurrentSceneEnum(requestSceneEnum);
         PrefabManager.Instance.LoadScene(requestSceneEnum, LoadSceneMode.Additive);
         StartCoroutine(CheckSceneIsLoaded());
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #5
0
 public void UnloadScene(SceneLookupEnum key)
 {
     if (m_scene.ContainsKey(key))
     {
         var scene = Addressables.UnloadSceneAsync(m_scene[key]);
         scene.Completed += (result) =>
         {
             if (result.Status == AsyncOperationStatus.Succeeded)
             {
                 m_scene.Remove(key);
             }
             else
             {
                 Debug.LogError($"场景======{key} 卸载失败!!!");
             }
         };
     }
 }
Exemple #6
0
        public bool UpdateCurrentCamera()
        {
            m_cameraController = null;

            GameObject mainCamera = GetCamera();

            if (mainCamera == null)
            {
                mainCamera = CreateCamera();
                if (mainCamera == null)
                {
                    return(false);
                }
            }

            m_mainCamera = mainCamera;

            SceneLookupEnum sceneEnum = SceneManager.Instance().GetCurrentScene;

            //if (RootConfig.Instance == null) return false;
            CameraService.SceneCameraType cameraType = RootConfig.Instance.GetCameraTypeBySceneName(sceneEnum.ToString());

            if (cameraType == SceneCameraType.Moveable)
            {
                m_cameraController = m_mainCamera.GetComponent <CameraController> ();
                if (m_cameraController == null)
                {
                    m_cameraController = m_mainCamera.AddComponent <CameraController> ();
                }

                m_cameraController.Refresh();
            }

            if (cameraType == SceneCameraType.Fixed)
            {
                m_cameraController = m_mainCamera.GetComponent <CameraController> ();
                if (m_cameraController != null)
                {
                    GameObject.Destroy(m_cameraController);
                }
            }

            return(true);
        }
Exemple #7
0
        private bool LoadScene(string sceneName)
        {
            bool isSceneExist = SceneLookup.IsSceneExistNoMatchCase(sceneName);

            if (isSceneExist)
            {
                SceneLookupEnum scene = SceneLookup.GetEnum(sceneName, false);
                GameSceneManager.Instance.LoadScene(scene);
                //StarPlatinum.PrefabManager.Instance.LoadScene(scene, UnityEngine.SceneManagement.LoadSceneMode.Additive);
                return(true);
            }
            else
            {
                PrintLog("Scene [" + sceneName + "] Is Not Exist! Please check scene name again!");

                PrintAllValidSceneName();
                return(false);
            }
        }
Exemple #8
0
        public bool IsGameSceneExistCurrentMission(SceneLookupEnum gameSceneEnum)
        {
            if (gameSceneEnum == SceneLookupEnum.World_GameRoot)
            {
                Debug.LogError("Game scene enum is invalid");
                return(false);
            }
            string missionSceneName = GenerateSceneName(m_currentMission, gameSceneEnum);

            if (SceneLookup.IsSceneExistNoMatchCase(missionSceneName))
            {
                return(true);
            }
            else
            {
                Debug.LogError("Request scene is not exist: " + missionSceneName);
                return(false);
            }
        }
Exemple #9
0
        public bool LoadMissionScene(MissionEnum requestMission)
        {
            if (IsMissionSceneExist(requestMission))
            {
                CoreContainer.Instance.SetPlayerDisable();
                string          sceneName = GenerateSceneName(requestMission);
                SceneLookupEnum sceneEnum = SceneLookup.GetEnum(sceneName, false);
                SetCurrentMission(requestMission);

                if (!m_currentMissionScene.LoadScene(sceneEnum))
                {
                    return(false);
                }
                return(true);
            }
            else
            {
                return(false);
            }
        }
        private void OnPlayerLoadArchive(object sender, PlayerLoadArchiveEvent e)
        {
            MissionArchiveData data = GlobalManager.GetControllerManager().PlayerArchiveController.CurrentArchiveData.MissionArchieData;

            SceneLookupEnum gameSceneEnum = data.CurrentGameScene;
            MissionEnum     missionEnum   = data.CurrentMission;

            if (gameSceneEnum != SceneLookupEnum.World_Invalid && gameSceneEnum != SceneLookupEnum.World_GameRoot && missionEnum != MissionEnum.None)
            {
                Vector3 PlayerPos = new Vector3(data.PlayerPositionX, data.PlayerPositionY, data.PlayerPositionZ);
                CoreContainer.Instance.SetPlayerPosition(PlayerPos);
                GameSceneManager.Instance.LoadScene(gameSceneEnum, "", () =>
                {
                    MissionSceneManager.Instance.SetCurrentMission(missionEnum);
                    MissionSceneManager.Instance.LoadCurrentMissionScene();
                    //if (MissionSceneManager.Instance.IsMissionSceneExist(missionEnum))
                    //{
                    //    MissionSceneManager.Instance.LoadMissionScene(missionEnum);
                    //}
                    //else
                    //{
                    //    MissionSceneManager.Instance.LoadMissionScene(MissionEnum.None);
                    //}
                });
            }
            else
            {
                Debug.LogError("Game Scene Enum: " + missionEnum + "nMission Scene Enum:" + gameSceneEnum + "\nIs not exist.");
            }

            m_isStoryTriggered       = data.StoryTriggered;
            m_objectTriggeredCounter = data.ObjectTriggeredCounter;
            if (m_isStoryTriggered == null)
            {
                m_isStoryTriggered = new List <string>();
            }
            if (m_objectTriggeredCounter == null)
            {
                m_objectTriggeredCounter = new Dictionary <string, int>();
            }
        }
    void OnGUI()
    {
        if (Application.isPlaying)
        {
            return;
        }

        _scrollPos = GUI.BeginScrollView(
            new Rect(0, 0, position.width, position.height),
            _scrollPos,
            new Rect(0, 0, 400, 800)
            );
        GUILayout.Label("Start From This Scene", EditorStyles.boldLabel);

        m_enumStartSceneInConfig = ConfigRoot.Instance.StartScene;
        m_enumStartScene         = (SceneLookupEnum)EditorGUILayout.EnumPopup("Start Scene:", m_enumStartSceneInConfig);
        if (m_enumStartScene != m_enumStartSceneInConfig)
        {
            ConfigRoot.Instance.StartScene = m_enumStartScene;
            Debug.Log($"Set {m_enumStartScene.ToString ()} as Start Scene");
            Debug.Log($"Set {m_enumStartMission.ToString ()} as Start Mission");
            AssetDatabase.SaveAssets();
        }

        GUILayout.Label("Start From This Scene", EditorStyles.boldLabel);

        m_enumStartMissionInConfig = ConfigRoot.Instance.StartMission;
        m_enumStartMission         = (MissionEnum)EditorGUILayout.EnumPopup("Start Mission:", m_enumStartMissionInConfig);
        if (m_enumStartMission != m_enumStartMissionInConfig)
        {
            ConfigRoot.Instance.StartMission = m_enumStartMission;
            Debug.Log($"Set {m_enumStartScene.ToString ()} as Start Scene");
            Debug.Log($"Set {m_enumStartMission.ToString ()} as Start Mission");
            AssetDatabase.SaveAssets();
        }

        //if (GUILayout.Button ("Save Start Info")) {
        //	ConfigRoot.Instance.StartScene = m_enumStartScene;
        //	ConfigRoot.Instance.StartMission = m_enumStartMission;
        //	Debug.Log ($"Set {m_enumStartScene.ToString ()} as Start Scene");
        //	Debug.Log ($"Set {m_enumStartMission.ToString ()} as Start Mission");
        //	AssetDatabase.SaveAssets ();
        //}

        GUILayout.Label("Prefab Object Name", EditorStyles.boldLabel);
        ConfigMission.Instance.Text_Spawn_Point_Name =
            EditorGUILayout.TextField("Spawn Point Name", ConfigMission.Instance.Text_Spawn_Point_Name);

        groupEnabled = EditorGUILayout.BeginToggleGroup("Optional Settings", groupEnabled);

        GUILayout.Label("Group Name Constant", EditorStyles.boldLabel);
        ConfigMission.Instance.Text_Interactable_Object_Group =
            EditorGUILayout.TextField("Interactable Group Name", ConfigMission.Instance.Text_Interactable_Object_Group);
        ConfigMission.Instance.Text_Event_Trigger_Group =
            EditorGUILayout.TextField("Trigger Group Name", ConfigMission.Instance.Text_Event_Trigger_Group);
        ConfigMission.Instance.Text_Mission_Group =
            EditorGUILayout.TextField("Mission Name", ConfigMission.Instance.Text_Mission_Group);

        myBool  = EditorGUILayout.Toggle("Toggle", myBool);
        myFloat = EditorGUILayout.Slider("Slider", myFloat, -3, 3);

        GUILayout.Label("Path to Prefab", EditorStyles.boldLabel);
        ConfigMission.Instance.Path_To_InteractableObject =
            EditorGUILayout.TextField("Path to Interactable Object", ConfigMission.Instance.Path_To_InteractableObject);
        ConfigMission.Instance.Path_To_WorldTrigger =
            EditorGUILayout.TextField("Path to World Trigger", ConfigMission.Instance.Path_To_WorldTrigger);
        ConfigMission.Instance.Path_To_SpawnPoint =
            EditorGUILayout.TextField("Path to Spawn Point", ConfigMission.Instance.Path_To_SpawnPoint);

        EditorGUILayout.EndToggleGroup();

        GUILayout.Label("Mission", EditorStyles.boldLabel);

        EditorGUILayout.BeginVertical();
        if (m_currentGameScene.name == null || m_currentGameScene.name == "")
        {
            m_currentGameScene = SceneManager.GetActiveScene();
        }
        EditorGUILayout.LabelField("Current Active Game Sccene:  " + m_currentGameScene.name);
        EditorGUILayout.LabelField("Current Active Mission Scene:  " + m_currentMissionScene.name);

        m_currentMissionEnum = (MissionEnum)EditorGUILayout.EnumPopup("Current Mission", m_currentMissionEnum);
        if (GUILayout.Button("Create Mission Scene"))
        {
            if (m_currentMissionEnum != MissionEnum.None)
            {
                RemoveCurrentMissionSceneInternal();
                CreateMissionSceneInternal(m_currentMissionEnum);
            }
            else
            {
                EditorUtility.DisplayDialog("Select A Mission", "Select a valid mission for edit", "Ok");
            }
        }

        if (GUILayout.Button("Load Mission Scene"))
        {
            if (m_currentMissionEnum != MissionEnum.None)
            {
                RemoveCurrentMissionSceneInternal();
                LoadMissionSceneInternal(m_currentMissionEnum);
            }
            else
            {
                EditorUtility.DisplayDialog("Select A Mission", "Select a valid mission for edit", "Ok");
            }
        }

        if (GUILayout.Button("Remove Mission Scene"))
        {
            RemoveCurrentMissionSceneInternal();
        }
        GUILayout.Label("Add Gameobject", EditorStyles.boldLabel);

        if (GUILayout.Button("Create Interactable Object"))
        {
            if (IsMissionSceneValid())
            {
                GameObject interactiablesGroup = GameObject.Find(ConfigMission.Instance.Text_Interactable_Object_Group);
                if (interactiablesGroup == null)
                {
                    interactiablesGroup = new GameObject(ConfigMission.Instance.Text_Interactable_Object_Group);
                }

                string     path = ConfigMission.Instance.Path_To_InteractableObject;
                GameObject go   = PrefabUtility.InstantiatePrefab(AssetDatabase.LoadAssetAtPath <GameObject> (path)) as GameObject;

                go.transform.SetParent(interactiablesGroup.transform);
                go.AddComponent <InteractiveObject> ();
            }
            else
            {
                EditorUtility.DisplayDialog("Not Valid Mission Scene", "Load or Create a valid mission scene", "Ok");
            }
        }

        if (GUILayout.Button("Create Spawn Point"))
        {
            if (IsMissionSceneValid())
            {
                GameObject spawnPoint = GameObject.Find(ConfigMission.Instance.Text_Spawn_Point_Name);
                if (spawnPoint != null)
                {
                    EditorUtility.DisplayDialog("Error", "Already contain a spawn point in scene.", "Ok");
                }
                else
                {
                    string     path = ConfigMission.Instance.Path_To_SpawnPoint;
                    GameObject go   = PrefabUtility.InstantiatePrefab(AssetDatabase.LoadAssetAtPath <GameObject> (path)) as GameObject;
                    go.name = ConfigMission.Instance.Text_Spawn_Point_Name;
                }
            }
            else
            {
                EditorUtility.DisplayDialog("Not Valid Mission Scene", "Load or Create a valid mission scene", "Ok");
            }
        }

        if (GUILayout.Button("Create Event Trigger"))
        {
            if (IsMissionSceneValid())
            {
                CreateEventTrigger(m_currentMissionScene);
            }
            else
            {
                EditorUtility.DisplayDialog("Not Valid Mission Scene", "Load or Create a valid mission scene", "Ok");
            }
        }
        if (GUILayout.Button("Create Event Trigger With [Prefab: Load New Story]"))
        {
            if (IsMissionSceneValid())
            {
                GameObject loadNewStory = CreateEventTrigger(m_currentMissionScene);
                loadNewStory.name = "Load_New_Story";
                loadNewStory.AddComponent <WorldTriggerCallbackLoadNewStory> ();
            }
            else
            {
                EditorUtility.DisplayDialog("Not Valid Mission Scene", "Load or Create a valid mission scene", "Ok");
            }
        }
        if (GUILayout.Button("Create Event Trigger With [Prefab: Create New Teleport Point]"))
        {
            if (IsGameSceneValid())
            {
                GameObject loadNewStory = CreateEventTrigger(m_currentGameScene);
                loadNewStory.name = "Teleport_Point";
                loadNewStory.AddComponent <WorldTriggerCallbackTeleportPlayer> ();
            }
            else
            {
                EditorUtility.DisplayDialog("Not Valid Mission Scene", "Load or Create a valid mission scene", "Ok");
            }
        }

        EditorGUILayout.EndVertical();

        GUI.EndScrollView();
    }
Exemple #12
0
        public void SpawnPlayer()
        {
            if (m_needToSpawnOnLastPositionFromArchive)
            {
                m_needToSpawnOnLastPositionFromArchive = false;
                m_player.transform.position            = m_playerPosition;
                m_player.SetActive(true);
                return;
            }

            SceneLookupEnum currentMissionSceneEnum = MissionSceneManager.Instance.GetCurrentMissionSceneEnum();
            SceneLookupEnum currentGameSceneEnum    = GameSceneManager.Instance.GetCurrentSceneEnum();
            Scene           currentMissionScene     = SceneManager.GetSceneByName(currentMissionSceneEnum.ToString());
            Scene           currentGameScene        = SceneManager.GetSceneByName(currentGameSceneEnum.ToString());

            GameObject [] missionSceneGameobjects = currentMissionScene.GetRootGameObjects();
            GameObject[]  gameSceneGameobjects    = currentGameScene.GetRootGameObjects();
            string        specificTeleportName    = GameSceneManager.Instance.GetSpecificTeleportName();

            SceneLookupEnum lastGameSceneEnum    = GameSceneManager.Instance.GetLastSceneEnum();
            SceneLookupEnum lastMissionSceneEnum = MissionSceneManager.Instance.GetLastMissionScecneEnum();

            MissionSceneManager.LoadMissionBy loadMissionBy = MissionSceneManager.Instance.GetLoadMissionBy();

            //Fisrt load game
            if (lastGameSceneEnum == SceneLookupEnum.World_GameRoot && lastMissionSceneEnum == SceneLookupEnum.World_GameRoot)
            {
                //Direct find spawn point
                foreach (GameObject go in missionSceneGameobjects)
                {
                    if (go.name == ConfigMission.Instance.Text_Spawn_Point_Name)
                    {
                        if (m_player != null)
                        {
                            m_player.transform.position =
                                new Vector3(go.transform.position.x, go.transform.position.y + 0.5f, go.transform.position.z);
                            m_player.SetActive(true);
                            return;
                        }
                    }
                }

                //Find spawn point in game scene
                foreach (GameObject go in gameSceneGameobjects)
                {
                    if (go.name == ConfigMission.Instance.Text_Spawn_Point_Name)
                    {
                        if (m_player != null)
                        {
                            m_player.transform.position =
                                new Vector3(go.transform.position.x, go.transform.position.y + 0.5f, go.transform.position.z);
                            m_player.SetActive(true);
                            return;
                        }
                    }
                }
            }
            else
            {
                //Not first time

                if (loadMissionBy != MissionSceneManager.LoadMissionBy.Teleport)
                {
                    //Load mission by story, mission enum will different. But game scene are the same.
                    //PS: Load anonymous will not change mission enum, but will change mission scene enum

                    //Do Nothing
                    m_player.SetActive(true);
                    return;
                }
                else
                {
                    //teleport
                    WorldTriggerCallbackTeleportPlayer[] teleports = GameObject.FindObjectsOfType <WorldTriggerCallbackTeleportPlayer>();
                    foreach (WorldTriggerCallbackTeleportPlayer teleport in teleports)
                    {
                        if (teleport.IsCGScene() == true)
                        {
                            continue;
                        }

                        if (teleport.GetTeleportScene() == lastGameSceneEnum)
                        {
                            if (specificTeleportName != "" && specificTeleportName != teleport.gameObject.name)
                            {
                                continue;
                            }
                            Vector3 direction = WorldTriggerCallbackTeleportPlayer.DirecitonMapping[teleport.m_spawnDirection];
                            direction *= teleport.m_lengthBetweenTriggerAndSpwanPoint;
                            m_player.transform.position = teleport.transform.position + direction + new Vector3(0.0f, 0.5f, 0.0f);
                            m_player.SetActive(true);
                            return;
                        }
                    }

                    //No suitable spawn point
                    Debug.LogError("Can not find spawn point!");
                    m_player.transform.position = new Vector3(0, 0.5f, 0);
                    m_player.SetActive(true);
                    return;
                }
            }
        }
Exemple #13
0
 public bool IsSceneLoaded(SceneLookupEnum requestScene)
 {
     return(m_scene.ContainsKey(requestScene));
 }
Exemple #14
0
 public SceneLookupEnum SetCurrentScene(SceneLookupEnum currentScene)
 {
     m_currentScene = currentScene;
     return(m_currentScene);
 }
Exemple #15
0
 public void LoadScene(SceneLookupEnum sceneName, SceneLoadMode loadMode, object sceneData = null)
 {
     m_currentScene = sceneName;
     LoadScene(SceneLookup.GetString(sceneName), loadMode, sceneData);
     CameraService.Instance.UpdateCurrentCamera();
 }
Exemple #16
0
 public void SetTeleportedScene(SceneLookupEnum scene)
 {
     m_teleportGameScene = scene.ToString();
 }
Exemple #17
0
 public void SetCurrentSceneEnum(SceneLookupEnum sceneEnum)
 {
     m_lastSceneEnum    = m_currentSceneEnum;
     m_currentSceneEnum = sceneEnum;
 }
        //[Camera Type Variable Auto Generated Code End]
        override public void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            EditorGUILayout.BeginVertical();
            EditorGUILayout.LabelField("Scene Editor");
            EditorGUILayout.LabelField("编辑游戏中的场景后,确保GameRoot为BuildSetting中序列为0的场景");
            EditorGUILayout.LabelField("运行根目录下的Tool目录中的SceneGenerator,会自动生成Scene Lookup");
            EditorGUILayout.LabelField("以及生成root config和该Inspector中的摄像机选择项");
            EditorGUILayout.LabelField("再回到GameRoot中添加所需场景");


            m_gameRoot = Selection.activeGameObject.gameObject.GetComponent <GameRoot> ();
            if (m_gameRoot == null)
            {
                return;
            }

            if (RootConfig.Instance == null)
            {
                return;
            }

            m_enumStartScene = RootConfig.Instance.StartScene;
            m_enumStartScene = (SceneLookupEnum)EditorGUILayout.EnumPopup("Start Scene:", m_enumStartScene);

            if (m_enumStartScene != m_gameRoot.m_startScene)
            {
                m_gameRoot.m_startScene        = m_enumStartScene;
                RootConfig.Instance.StartScene = m_enumStartScene;
                Debug.Log($"Set {m_enumStartScene.ToString ()} as Start Scene");
            }

            //[Inspector Popup Auto Generated Code Begin]

            m_World_GoundTestSceneCameraType = RootConfig.Instance.World_GoundTestSceneCameraType;
            m_World_GoundTestSceneCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_GoundTestScene Camera Type: ", m_World_GoundTestSceneCameraType);
            if (m_World_GoundTestSceneCameraType != RootConfig.Instance.World_GoundTestSceneCameraType)
            {
                RootConfig.Instance.World_GoundTestSceneCameraType = m_World_GoundTestSceneCameraType;
            }

            m_World_CoreContainerCameraType = RootConfig.Instance.World_CoreContainerCameraType;
            m_World_CoreContainerCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_CoreContainer Camera Type: ", m_World_CoreContainerCameraType);
            if (m_World_CoreContainerCameraType != RootConfig.Instance.World_CoreContainerCameraType)
            {
                RootConfig.Instance.World_CoreContainerCameraType = m_World_CoreContainerCameraType;
            }

            m_World_Episode2_PierCameraType = RootConfig.Instance.World_Episode2_PierCameraType;
            m_World_Episode2_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Episode2_Pier Camera Type: ", m_World_Episode2_PierCameraType);
            if (m_World_Episode2_PierCameraType != RootConfig.Instance.World_Episode2_PierCameraType)
            {
                RootConfig.Instance.World_Episode2_PierCameraType = m_World_Episode2_PierCameraType;
            }

            m_World_GameRootCameraType = RootConfig.Instance.World_GameRootCameraType;
            m_World_GameRootCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_GameRoot Camera Type: ", m_World_GameRootCameraType);
            if (m_World_GameRootCameraType != RootConfig.Instance.World_GameRootCameraType)
            {
                RootConfig.Instance.World_GameRootCameraType = m_World_GameRootCameraType;
            }

            m_World_UITestSceneCameraType = RootConfig.Instance.World_UITestSceneCameraType;
            m_World_UITestSceneCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_UITestScene Camera Type: ", m_World_UITestSceneCameraType);
            if (m_World_UITestSceneCameraType != RootConfig.Instance.World_UITestSceneCameraType)
            {
                RootConfig.Instance.World_UITestSceneCameraType = m_World_UITestSceneCameraType;
            }

//[Inspector Popup Auto Generated Code End]



            EditorGUILayout.EndVertical();
        }
Exemple #19
0
 public void LoadScene(SceneLookupEnum key, LoadSceneMode loadSceneMode)
 {
     Addressables.LoadScene(SceneLookup.GetString(key), loadSceneMode);
     SceneManager.Instance().SetCurrentScene(key);
 }
Exemple #20
0
 private string GenerateSceneName(MissionEnum missionEnum, SceneLookupEnum scene)
 {
     return(ConfigMission.Instance.Prefix_Mission_Scene + missionEnum.ToString() + "_" + scene.ToString());
 }
Exemple #21
0
 public bool LoadScene(SceneLookupEnum scene)
 {
     return(m_currentSceneSlot.LoadScene(scene));
 }
Exemple #22
0
        //[Camera Type Variable Auto Generated Code End]
        override public void OnInspectorGUI()
        {
            base.DrawDefaultInspector();

            EditorGUILayout.BeginVertical();
            EditorGUILayout.LabelField("Scene Editor");
            EditorGUILayout.LabelField("编辑游戏中��场景后,确保GameRoot为BuildSetting���序列为0的场景");
            EditorGUILayout.LabelField("运行根目录下的Tool目录中的SceneGenerator,会自动生成Scene Lookup");
            EditorGUILayout.LabelField("以及生成root config和该Inspector中的摄像机选择项");
            EditorGUILayout.LabelField("再回到GameRoot中添加所需场景");

            m_gameRoot = Selection.activeGameObject.gameObject.GetComponent <GameRoot> ();
            if (m_gameRoot == null)
            {
                return;
            }

            if (ConfigRoot.Instance == null)
            {
                return;
            }

            GUILayout.Label("Start From This Scene", EditorStyles.boldLabel);

            m_enumStartSceneInConfig = ConfigRoot.Instance.StartScene;
            m_enumStartScene         = (SceneLookupEnum)EditorGUILayout.EnumPopup("Start Scene:", m_enumStartSceneInConfig);
            if (m_enumStartScene != m_enumStartSceneInConfig)
            {
                ConfigRoot.Instance.StartScene = m_enumStartScene;
                Debug.Log($"Set {m_enumStartScene.ToString ()} as Start Scene");
            }

            GUILayout.Label("Start From This Scene", EditorStyles.boldLabel);

            m_enumStartMissionInConfig = ConfigRoot.Instance.StartMission;
            m_enumStartMission         = (MissionEnum)EditorGUILayout.EnumPopup("Start Mission:", m_enumStartMissionInConfig);
            if (m_enumStartMission != m_enumStartMissionInConfig)
            {
                ConfigRoot.Instance.StartMission = m_enumStartMission;
                Debug.Log($"Set {m_enumStartMission.ToString ()} as Start Mission");
            }


            GUILayout.Label("Camera Setting", EditorStyles.boldLabel);

            //[Inspector Popup Auto Generated Code Begin]

            m_World_1F_Middle_CorriderCameraType = ConfigRoot.Instance.World_1F_Middle_CorriderCameraType;
            m_World_1F_Middle_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_1F_Middle_Corrider Camera Type: ", m_World_1F_Middle_CorriderCameraType);
            if (m_World_1F_Middle_CorriderCameraType != ConfigRoot.Instance.World_1F_Middle_CorriderCameraType)
            {
                ConfigRoot.Instance.World_1F_Middle_CorriderCameraType = m_World_1F_Middle_CorriderCameraType;
            }

            m_World_1F_South_CorriderCameraType = ConfigRoot.Instance.World_1F_South_CorriderCameraType;
            m_World_1F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_1F_South_Corrider Camera Type: ", m_World_1F_South_CorriderCameraType);
            if (m_World_1F_South_CorriderCameraType != ConfigRoot.Instance.World_1F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_1F_South_CorriderCameraType = m_World_1F_South_CorriderCameraType;
            }

            m_World_1F_West_CorriderCameraType = ConfigRoot.Instance.World_1F_West_CorriderCameraType;
            m_World_1F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_1F_West_Corrider Camera Type: ", m_World_1F_West_CorriderCameraType);
            if (m_World_1F_West_CorriderCameraType != ConfigRoot.Instance.World_1F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_1F_West_CorriderCameraType = m_World_1F_West_CorriderCameraType;
            }

            m_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_2F_East_CorriderCameraType;
            m_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_2F_East_Corrider Camera Type: ", m_World_2F_East_CorriderCameraType);
            if (m_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_2F_East_CorriderCameraType = m_World_2F_East_CorriderCameraType;
            }

            m_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_2F_North_CorriderCameraType;
            m_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_2F_North_Corrider Camera Type: ", m_World_2F_North_CorriderCameraType);
            if (m_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_2F_North_CorriderCameraType = m_World_2F_North_CorriderCameraType;
            }

            m_World_2F_South_CorriderCameraType = ConfigRoot.Instance.World_2F_South_CorriderCameraType;
            m_World_2F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_2F_South_Corrider Camera Type: ", m_World_2F_South_CorriderCameraType);
            if (m_World_2F_South_CorriderCameraType != ConfigRoot.Instance.World_2F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_2F_South_CorriderCameraType = m_World_2F_South_CorriderCameraType;
            }

            m_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_2F_West_CorriderCameraType;
            m_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_2F_West_Corrider Camera Type: ", m_World_2F_West_CorriderCameraType);
            if (m_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_2F_West_CorriderCameraType = m_World_2F_West_CorriderCameraType;
            }

            m_World_Commandpost_1FCameraType = ConfigRoot.Instance.World_Commandpost_1FCameraType;
            m_World_Commandpost_1FCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Commandpost_1F Camera Type: ", m_World_Commandpost_1FCameraType);
            if (m_World_Commandpost_1FCameraType != ConfigRoot.Instance.World_Commandpost_1FCameraType)
            {
                ConfigRoot.Instance.World_Commandpost_1FCameraType = m_World_Commandpost_1FCameraType;
            }

            m_World_Commandpost_2FCameraType = ConfigRoot.Instance.World_Commandpost_2FCameraType;
            m_World_Commandpost_2FCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Commandpost_2F Camera Type: ", m_World_Commandpost_2FCameraType);
            if (m_World_Commandpost_2FCameraType != ConfigRoot.Instance.World_Commandpost_2FCameraType)
            {
                ConfigRoot.Instance.World_Commandpost_2FCameraType = m_World_Commandpost_2FCameraType;
            }

            m_World_CoreContainerCameraType = ConfigRoot.Instance.World_CoreContainerCameraType;
            m_World_CoreContainerCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_CoreContainer Camera Type: ", m_World_CoreContainerCameraType);
            if (m_World_CoreContainerCameraType != ConfigRoot.Instance.World_CoreContainerCameraType)
            {
                ConfigRoot.Instance.World_CoreContainerCameraType = m_World_CoreContainerCameraType;
            }

            m_World_Episode3_HallCameraType = ConfigRoot.Instance.World_Episode3_HallCameraType;
            m_World_Episode3_HallCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Episode3_Hall Camera Type: ", m_World_Episode3_HallCameraType);
            if (m_World_Episode3_HallCameraType != ConfigRoot.Instance.World_Episode3_HallCameraType)
            {
                ConfigRoot.Instance.World_Episode3_HallCameraType = m_World_Episode3_HallCameraType;
            }

            m_World_Episode4_DoctorRoomCameraType = ConfigRoot.Instance.World_Episode4_DoctorRoomCameraType;
            m_World_Episode4_DoctorRoomCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Episode4_DoctorRoom Camera Type: ", m_World_Episode4_DoctorRoomCameraType);
            if (m_World_Episode4_DoctorRoomCameraType != ConfigRoot.Instance.World_Episode4_DoctorRoomCameraType)
            {
                ConfigRoot.Instance.World_Episode4_DoctorRoomCameraType = m_World_Episode4_DoctorRoomCameraType;
            }

            m_World_GameRootCameraType = ConfigRoot.Instance.World_GameRootCameraType;
            m_World_GameRootCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_GameRoot Camera Type: ", m_World_GameRootCameraType);
            if (m_World_GameRootCameraType != ConfigRoot.Instance.World_GameRootCameraType)
            {
                ConfigRoot.Instance.World_GameRootCameraType = m_World_GameRootCameraType;
            }

            m_World_GoundTestSceneCameraType = ConfigRoot.Instance.World_GoundTestSceneCameraType;
            m_World_GoundTestSceneCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_GoundTestScene Camera Type: ", m_World_GoundTestSceneCameraType);
            if (m_World_GoundTestSceneCameraType != ConfigRoot.Instance.World_GoundTestSceneCameraType)
            {
                ConfigRoot.Instance.World_GoundTestSceneCameraType = m_World_GoundTestSceneCameraType;
            }

            m_World_Kitchen_CorriderCameraType = ConfigRoot.Instance.World_Kitchen_CorriderCameraType;
            m_World_Kitchen_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Kitchen_Corrider Camera Type: ", m_World_Kitchen_CorriderCameraType);
            if (m_World_Kitchen_CorriderCameraType != ConfigRoot.Instance.World_Kitchen_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Kitchen_CorriderCameraType = m_World_Kitchen_CorriderCameraType;
            }

            m_World_Mission_DockByPier_World_Episode2_PierCameraType = ConfigRoot.Instance.World_Mission_DockByPier_World_Episode2_PierCameraType;
            m_World_Mission_DockByPier_World_Episode2_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_DockByPier_World_Episode2_Pier Camera Type: ", m_World_Mission_DockByPier_World_Episode2_PierCameraType);
            if (m_World_Mission_DockByPier_World_Episode2_PierCameraType != ConfigRoot.Instance.World_Mission_DockByPier_World_Episode2_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_DockByPier_World_Episode2_PierCameraType = m_World_Mission_DockByPier_World_Episode2_PierCameraType;
            }

            m_World_Mission_DockByPier_World_Episode3_HallCameraType = ConfigRoot.Instance.World_Mission_DockByPier_World_Episode3_HallCameraType;
            m_World_Mission_DockByPier_World_Episode3_HallCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_DockByPier_World_Episode3_Hall Camera Type: ", m_World_Mission_DockByPier_World_Episode3_HallCameraType);
            if (m_World_Mission_DockByPier_World_Episode3_HallCameraType != ConfigRoot.Instance.World_Mission_DockByPier_World_Episode3_HallCameraType)
            {
                ConfigRoot.Instance.World_Mission_DockByPier_World_Episode3_HallCameraType = m_World_Mission_DockByPier_World_Episode3_HallCameraType;
            }

            m_World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType = ConfigRoot.Instance.World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType;
            m_World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_DockByPier_World_Episode4_DoctorRoom Camera Type: ", m_World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType);
            if (m_World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType != ConfigRoot.Instance.World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType)
            {
                ConfigRoot.Instance.World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType = m_World_Mission_DockByPier_World_Episode4_DoctorRoomCameraType;
            }

            m_World_Mission_EnterIsland_World_Episode2_PierCameraType = ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode2_PierCameraType;
            m_World_Mission_EnterIsland_World_Episode2_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EnterIsland_World_Episode2_Pier Camera Type: ", m_World_Mission_EnterIsland_World_Episode2_PierCameraType);
            if (m_World_Mission_EnterIsland_World_Episode2_PierCameraType != ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode2_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode2_PierCameraType = m_World_Mission_EnterIsland_World_Episode2_PierCameraType;
            }

            m_World_Mission_EnterIsland_World_Episode3_HallCameraType = ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode3_HallCameraType;
            m_World_Mission_EnterIsland_World_Episode3_HallCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EnterIsland_World_Episode3_Hall Camera Type: ", m_World_Mission_EnterIsland_World_Episode3_HallCameraType);
            if (m_World_Mission_EnterIsland_World_Episode3_HallCameraType != ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode3_HallCameraType)
            {
                ConfigRoot.Instance.World_Mission_EnterIsland_World_Episode3_HallCameraType = m_World_Mission_EnterIsland_World_Episode3_HallCameraType;
            }

            m_World_Mission_EP01_01_Poison_Island_PierCameraType = ConfigRoot.Instance.World_Mission_EP01_01_Poison_Island_PierCameraType;
            m_World_Mission_EP01_01_Poison_Island_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP01_01_Poison_Island_Pier Camera Type: ", m_World_Mission_EP01_01_Poison_Island_PierCameraType);
            if (m_World_Mission_EP01_01_Poison_Island_PierCameraType != ConfigRoot.Instance.World_Mission_EP01_01_Poison_Island_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP01_01_Poison_Island_PierCameraType = m_World_Mission_EP01_01_Poison_Island_PierCameraType;
            }

            m_World_Mission_EP01_02_Poison_Island_PierCameraType = ConfigRoot.Instance.World_Mission_EP01_02_Poison_Island_PierCameraType;
            m_World_Mission_EP01_02_Poison_Island_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP01_02_Poison_Island_Pier Camera Type: ", m_World_Mission_EP01_02_Poison_Island_PierCameraType);
            if (m_World_Mission_EP01_02_Poison_Island_PierCameraType != ConfigRoot.Instance.World_Mission_EP01_02_Poison_Island_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP01_02_Poison_Island_PierCameraType = m_World_Mission_EP01_02_Poison_Island_PierCameraType;
            }

            m_World_Mission_EP01_03_Poison_Island_PierCameraType = ConfigRoot.Instance.World_Mission_EP01_03_Poison_Island_PierCameraType;
            m_World_Mission_EP01_03_Poison_Island_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP01_03_Poison_Island_Pier Camera Type: ", m_World_Mission_EP01_03_Poison_Island_PierCameraType);
            if (m_World_Mission_EP01_03_Poison_Island_PierCameraType != ConfigRoot.Instance.World_Mission_EP01_03_Poison_Island_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP01_03_Poison_Island_PierCameraType = m_World_Mission_EP01_03_Poison_Island_PierCameraType;
            }

            m_World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType;
            m_World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_01_1F_South_Corrider_World_1F_South_Corrider Camera Type: ", m_World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType);
            if (m_World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType = m_World_Mission_EP02_01_1F_South_Corrider_World_1F_South_CorriderCameraType;
            }

            m_World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType;
            m_World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_01_1F_South_Corrider_World_1F_West_Corrider Camera Type: ", m_World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType);
            if (m_World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType = m_World_Mission_EP02_01_1F_South_Corrider_World_1F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_02_World_1F_South_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_02_World_1F_South_CorriderCameraType;
            m_World_Mission_EP02_02_World_1F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_02_World_1F_South_Corrider Camera Type: ", m_World_Mission_EP02_02_World_1F_South_CorriderCameraType);
            if (m_World_Mission_EP02_02_World_1F_South_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_02_World_1F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_02_World_1F_South_CorriderCameraType = m_World_Mission_EP02_02_World_1F_South_CorriderCameraType;
            }

            m_World_Mission_EP02_03_World_1F_South_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_03_World_1F_South_CorriderCameraType;
            m_World_Mission_EP02_03_World_1F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_03_World_1F_South_Corrider Camera Type: ", m_World_Mission_EP02_03_World_1F_South_CorriderCameraType);
            if (m_World_Mission_EP02_03_World_1F_South_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_03_World_1F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_03_World_1F_South_CorriderCameraType = m_World_Mission_EP02_03_World_1F_South_CorriderCameraType;
            }

            m_World_Mission_EP02_03_World_1F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_03_World_1F_West_CorriderCameraType;
            m_World_Mission_EP02_03_World_1F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_03_World_1F_West_Corrider Camera Type: ", m_World_Mission_EP02_03_World_1F_West_CorriderCameraType);
            if (m_World_Mission_EP02_03_World_1F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_03_World_1F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_03_World_1F_West_CorriderCameraType = m_World_Mission_EP02_03_World_1F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_03_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_03_World_2F_North_CorriderCameraType;
            m_World_Mission_EP02_03_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_03_World_2F_North_Corrider Camera Type: ", m_World_Mission_EP02_03_World_2F_North_CorriderCameraType);
            if (m_World_Mission_EP02_03_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_03_World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_03_World_2F_North_CorriderCameraType = m_World_Mission_EP02_03_World_2F_North_CorriderCameraType;
            }

            m_World_Mission_EP02_04_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_04_World_2F_North_CorriderCameraType;
            m_World_Mission_EP02_04_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_04_World_2F_North_Corrider Camera Type: ", m_World_Mission_EP02_04_World_2F_North_CorriderCameraType);
            if (m_World_Mission_EP02_04_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_04_World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_04_World_2F_North_CorriderCameraType = m_World_Mission_EP02_04_World_2F_North_CorriderCameraType;
            }

            m_World_Mission_EP02_04_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_04_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_04_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_04_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_04_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_04_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_04_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_04_World_2F_West_CorriderCameraType = m_World_Mission_EP02_04_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_05_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_05_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_05_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_05_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_05_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_05_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_05_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_05_World_2F_West_CorriderCameraType = m_World_Mission_EP02_05_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType = m_World_Mission_EP02_05_World_Mission_EP02_04_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_06_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_06_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_06_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_06_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_06_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_06_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_06_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_06_World_2F_West_CorriderCameraType = m_World_Mission_EP02_06_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_07_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_07_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_07_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_07_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_07_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_07_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_07_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_07_World_2F_West_CorriderCameraType = m_World_Mission_EP02_07_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_08_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_08_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_08_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_08_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_08_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_08_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_08_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_08_World_2F_West_CorriderCameraType = m_World_Mission_EP02_08_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType;
            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_09_2F_East_Corrider_World_2F_East_Corrider Camera Type: ", m_World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType);
            if (m_World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType = m_World_Mission_EP02_09_2F_East_Corrider_World_2F_East_CorriderCameraType;
            }

            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType;
            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_09_2F_East_Corrider_World_2F_South_Corrider Camera Type: ", m_World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType);
            if (m_World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType = m_World_Mission_EP02_09_2F_East_Corrider_World_2F_South_CorriderCameraType;
            }

            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType;
            m_World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_09_2F_East_Corrider_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType = m_World_Mission_EP02_09_2F_East_Corrider_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_10_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_10_World_2F_East_CorriderCameraType;
            m_World_Mission_EP02_10_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_10_World_2F_East_Corrider Camera Type: ", m_World_Mission_EP02_10_World_2F_East_CorriderCameraType);
            if (m_World_Mission_EP02_10_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_10_World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_10_World_2F_East_CorriderCameraType = m_World_Mission_EP02_10_World_2F_East_CorriderCameraType;
            }

            m_World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType;
            m_World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_11_1F_South_Corrider_World_1F_South_Corrider Camera Type: ", m_World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType);
            if (m_World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType = m_World_Mission_EP02_11_1F_South_Corrider_World_1F_South_CorriderCameraType;
            }

            m_World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType;
            m_World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_11_1F_South_Corrider_World_1F_West_Corrider Camera Type: ", m_World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType);
            if (m_World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType = m_World_Mission_EP02_11_1F_South_Corrider_World_1F_West_CorriderCameraType;
            }

            m_World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType;
            m_World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_11_1F_South_Corrider_World_2F_East_Corrider Camera Type: ", m_World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType);
            if (m_World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType = m_World_Mission_EP02_11_1F_South_Corrider_World_2F_East_CorriderCameraType;
            }

            m_World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType;
            m_World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_11_1F_South_Corrider_World_2F_North_Corrider Camera Type: ", m_World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType);
            if (m_World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType = m_World_Mission_EP02_11_1F_South_Corrider_World_2F_North_CorriderCameraType;
            }

            m_World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType;
            m_World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_Corrider Camera Type: ", m_World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType);
            if (m_World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType = m_World_Mission_EP02_11_1F_South_Corrider_World_Kitchen_CorriderCameraType;
            }

            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType;
            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_02_2F_East_Corrider_World_2F_East_Corrider Camera Type: ", m_World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType);
            if (m_World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType = m_World_Mission_EP03_02_2F_East_Corrider_World_2F_East_CorriderCameraType;
            }

            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType;
            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_02_2F_East_Corrider_World_2F_North_Corrider Camera Type: ", m_World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType);
            if (m_World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType = m_World_Mission_EP03_02_2F_East_Corrider_World_2F_North_CorriderCameraType;
            }

            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType;
            m_World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_02_2F_East_Corrider_World_2F_West_Corrider Camera Type: ", m_World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType);
            if (m_World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType = m_World_Mission_EP03_02_2F_East_Corrider_World_2F_West_CorriderCameraType;
            }

            m_World_Mission_EP03_World_1F_West_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_World_1F_West_CorriderCameraType;
            m_World_Mission_EP03_World_1F_West_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_World_1F_West_Corrider Camera Type: ", m_World_Mission_EP03_World_1F_West_CorriderCameraType);
            if (m_World_Mission_EP03_World_1F_West_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_World_1F_West_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_World_1F_West_CorriderCameraType = m_World_Mission_EP03_World_1F_West_CorriderCameraType;
            }

            m_World_Mission_EP03_World_2F_East_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_World_2F_East_CorriderCameraType;
            m_World_Mission_EP03_World_2F_East_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_World_2F_East_Corrider Camera Type: ", m_World_Mission_EP03_World_2F_East_CorriderCameraType);
            if (m_World_Mission_EP03_World_2F_East_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_World_2F_East_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_World_2F_East_CorriderCameraType = m_World_Mission_EP03_World_2F_East_CorriderCameraType;
            }

            m_World_Mission_EP03_World_2F_North_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_World_2F_North_CorriderCameraType;
            m_World_Mission_EP03_World_2F_North_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_World_2F_North_Corrider Camera Type: ", m_World_Mission_EP03_World_2F_North_CorriderCameraType);
            if (m_World_Mission_EP03_World_2F_North_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_World_2F_North_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_World_2F_North_CorriderCameraType = m_World_Mission_EP03_World_2F_North_CorriderCameraType;
            }

            m_World_Mission_EP03_World_Kitchen_CorriderCameraType = ConfigRoot.Instance.World_Mission_EP03_World_Kitchen_CorriderCameraType;
            m_World_Mission_EP03_World_Kitchen_CorriderCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_EP03_World_Kitchen_Corrider Camera Type: ", m_World_Mission_EP03_World_Kitchen_CorriderCameraType);
            if (m_World_Mission_EP03_World_Kitchen_CorriderCameraType != ConfigRoot.Instance.World_Mission_EP03_World_Kitchen_CorriderCameraType)
            {
                ConfigRoot.Instance.World_Mission_EP03_World_Kitchen_CorriderCameraType = m_World_Mission_EP03_World_Kitchen_CorriderCameraType;
            }

            m_World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType = ConfigRoot.Instance.World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType;
            m_World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_Programmer_DockByPier_Poison_Island_Pier Camera Type: ", m_World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType);
            if (m_World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType != ConfigRoot.Instance.World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType)
            {
                ConfigRoot.Instance.World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType = m_World_Mission_Programmer_DockByPier_Poison_Island_PierCameraType;
            }

            m_World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType = ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType;
            m_World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_Programmer_DockByPier_World_Commandpost_1F Camera Type: ", m_World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType);
            if (m_World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType != ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType)
            {
                ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType = m_World_Mission_Programmer_DockByPier_World_Commandpost_1FCameraType;
            }

            m_World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType = ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType;
            m_World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_Programmer_DockByPier_World_Commandpost_2F Camera Type: ", m_World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType);
            if (m_World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType != ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType)
            {
                ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType = m_World_Mission_Programmer_DockByPier_World_Commandpost_2FCameraType;
            }

            m_World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType = ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType;
            m_World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_Mission_Programmer_DockByPier_World_SceneForPresentation Camera Type: ", m_World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType);
            if (m_World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType != ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType)
            {
                ConfigRoot.Instance.World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType = m_World_Mission_Programmer_DockByPier_World_SceneForPresentationCameraType;
            }

            m_Poison_Island_PierCameraType = ConfigRoot.Instance.Poison_Island_PierCameraType;
            m_Poison_Island_PierCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("Poison_Island_Pier Camera Type: ", m_Poison_Island_PierCameraType);
            if (m_Poison_Island_PierCameraType != ConfigRoot.Instance.Poison_Island_PierCameraType)
            {
                ConfigRoot.Instance.Poison_Island_PierCameraType = m_Poison_Island_PierCameraType;
            }

            m_World_SceneForPresentationCameraType = ConfigRoot.Instance.World_SceneForPresentationCameraType;
            m_World_SceneForPresentationCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_SceneForPresentation Camera Type: ", m_World_SceneForPresentationCameraType);
            if (m_World_SceneForPresentationCameraType != ConfigRoot.Instance.World_SceneForPresentationCameraType)
            {
                ConfigRoot.Instance.World_SceneForPresentationCameraType = m_World_SceneForPresentationCameraType;
            }

            m_World_UITestSceneCameraType = ConfigRoot.Instance.World_UITestSceneCameraType;
            m_World_UITestSceneCameraType = (CameraService.SceneCameraType)EditorGUILayout.EnumPopup("World_UITestScene Camera Type: ", m_World_UITestSceneCameraType);
            if (m_World_UITestSceneCameraType != ConfigRoot.Instance.World_UITestSceneCameraType)
            {
                ConfigRoot.Instance.World_UITestSceneCameraType = m_World_UITestSceneCameraType;
            }

//[Inspector Popup Auto Generated Code End]



            EditorGUILayout.EndVertical();
        }