private void LoadMissionSceneInternal(MissionEnum missionEnum) { string folderName = ConfigMission.Instance.Prefix_Mission_Folder + missionEnum.ToString() + "_" + SceneManager.GetActiveScene().name; string sceneName = ConfigMission.Instance.Prefix_Mission_Scene + missionEnum.ToString() + "_" + SceneManager.GetActiveScene().name; if (m_currentMissionScene.name != sceneName) { string pathToSceneFolder = MissionSceneManager.Instance.GenerateFullSceneFolderPath(folderName); if (!AssetDatabase.IsValidFolder(pathToSceneFolder)) { EditorUtility.DisplayDialog("Scene Folder Not Exist", "Click [Create Mission Scene] to create new mission scene", "Ok"); } bool isExistMissionScene = MissionSceneManager.Instance.IsFileMissionSceneExistInAssets(folderName, sceneName); if (isExistMissionScene) { string pathToScene = MissionSceneManager.Instance.GenerateFullScenePath(folderName, sceneName); m_currentMissionScene = EditorSceneManager.OpenScene(pathToScene, OpenSceneMode.Additive); EditorSceneManager.SetActiveScene(m_currentMissionScene); } else { EditorUtility.DisplayDialog("Scene Not Exist", "Click [Create Mission Scene] to create new mission scene", "Ok"); } } }
//Default get current game scene name public string GenerateSceneName(MissionEnum missionEnum) { if (Application.isPlaying) { Assert.IsTrue(GameSceneManager.Instance.GetCurrentSceneEnum() != SceneLookupEnum.World_GameRoot, "Current game scene is invalid, please do not try to load a mission scene when game scene is valid."); //return ConfigMission.Instance.Prefix_Mission_Scene + missionEnum.ToString() + "_" + GameSceneManager.Instance.GetCurrentSceneEnum().ToString(); return(GenerateSceneName(missionEnum, GameSceneManager.Instance.GetCurrentSceneEnum())); } return(ConfigMission.Instance.Prefix_Mission_Scene + missionEnum.ToString() + "_" + SceneManager.GetActiveScene().name); }
//[Camera Type Variable Auto Generated Code Begin] //[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] //[Inspector Popup Auto Generated Code End] EditorGUILayout.EndVertical(); }
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(); }
private string GenerateSceneName(MissionEnum missionEnum, SceneLookupEnum scene) { return(ConfigMission.Instance.Prefix_Mission_Scene + missionEnum.ToString() + "_" + scene.ToString()); }
public string GenerateFolderName(MissionEnum missionEnum) { return(ConfigMission.Instance.Prefix_Mission_Folder + missionEnum.ToString() + "_" + SceneManager.GetActiveScene().name); }
/// <summary> /// 3 /// </summary> private void UpdateGrids() { return; m_dicfTypes.Clear(); m_dicsType.Clear(); m__missonRoot.gameObject.SetActive(false); //1级分类 UITypeGrid tGridTemp = null; //2级别分类 UISecondTypeGrid sGridTemp = null; List <QuestTraceInfo> taskList = null; for (int i = (int)MissionEnum.None + 1; i < (int)MissionEnum.Max; i++) { MissionEnum missionType = (MissionEnum)i; uint index = (uint)i; taskList = GetQuestListByType(missionType); if (taskList.Count <= 0) { continue; } tGridTemp = GetFirstTypeGrid(); if (null == tGridTemp) { break; } tGridTemp.gameObject.SetActive(true); tGridTemp.gameObject.name = missionType.ToString(); tGridTemp.transform.parent = m__missonRoot.transform; tGridTemp.transform.localPosition = new Vector3(0, -100, 0); tGridTemp.transform.localScale = Vector3.one; tGridTemp.transform.localRotation = Quaternion.identity; tGridTemp.SetGridData(index); tGridTemp.EnableRedPoint(false); tGridTemp.SetName(missionType.GetEnumDescription()); tGridTemp.EnableArrow(true); tGridTemp.SetHightLight(false); tGridTemp.RegisterUIEventDelegate(OnGridEventDlg); m_dicfTypes.Add(index, tGridTemp); for (int n = 0; n < taskList.Count; n++) { sGridTemp = GetSecondTypeGrid(); if (sGridTemp == null) { continue; } sGridTemp.gameObject.SetActive(true); sGridTemp.SetRedPoint(false); sGridTemp.gameObject.name = taskList[n].taskId.ToString(); uint sIndex = taskList[n].taskId; sGridTemp.SetData(sIndex, QuestTraceInfo.GetTableTaskByID(taskList[n].taskId).strName, false); sGridTemp.RegisterUIEventDelegate(OnGridEventDlg); //添加到上级页签 tGridTemp.Add(sGridTemp.CacheTransform); if (!m_dicsType.ContainsKey(sIndex)) { m_dicsType.Add(sIndex, sGridTemp); } } tGridTemp.UpdatePostion(); } m__missonRoot.Reposition(); m__missonRoot.transform.parent.GetComponent <UIScrollView>().ResetPosition(); }
//[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(); }