From b0b089ec67ea9ad11d8bb8a0ade0c47f81717c58 Mon Sep 17 00:00:00 2001 From: shurongsen <1799096798@qq.com> Date: Mon, 28 Oct 2024 15:37:21 +0800 Subject: [PATCH] add --- .../Assets/Scenes/first_charge_slices.unity | 88 +++++++++---------- meng_yao/Assets/script/Manager.meta | 8 ++ meng_yao/Assets/script/Manager/JumpScene.cs | 79 +++++++++++++++++ .../Assets/script/Manager/JumpScene.cs.meta | 11 +++ .../Assets/script/{ => Manager}/Promptmgr.cs | 0 .../script/{ => Manager}/Promptmgr.cs.meta | 0 6 files changed, 142 insertions(+), 44 deletions(-) create mode 100644 meng_yao/Assets/script/Manager.meta create mode 100644 meng_yao/Assets/script/Manager/JumpScene.cs create mode 100644 meng_yao/Assets/script/Manager/JumpScene.cs.meta rename meng_yao/Assets/script/{ => Manager}/Promptmgr.cs (100%) rename meng_yao/Assets/script/{ => Manager}/Promptmgr.cs.meta (100%) diff --git a/meng_yao/Assets/Scenes/first_charge_slices.unity b/meng_yao/Assets/Scenes/first_charge_slices.unity index f35563cc0..402185db1 100644 --- a/meng_yao/Assets/Scenes/first_charge_slices.unity +++ b/meng_yao/Assets/Scenes/first_charge_slices.unity @@ -416,7 +416,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.x @@ -424,7 +424,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x @@ -464,11 +464,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: -243 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -1146.2 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -522,7 +522,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -530,7 +530,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -570,11 +570,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -242 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -734,7 +734,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -742,7 +742,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -782,11 +782,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -2954.6 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1269,7 +1269,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -1277,7 +1277,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -1317,11 +1317,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -1146.2 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1745,7 +1745,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -1753,7 +1753,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -1793,11 +1793,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -694.1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1960,7 +1960,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -1968,7 +1968,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -2008,11 +2008,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -2050.4 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -2271,7 +2271,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} m_AnchoredPosition: {x: 498.32166, y: -0} - m_SizeDelta: {x: 18, y: 0} + m_SizeDelta: {x: 18, y: 1388.2001} m_Pivot: {x: 0, y: 1} --- !u!114 &1322850756 MonoBehaviour: @@ -2338,7 +2338,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.x @@ -2346,7 +2346,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x @@ -2386,11 +2386,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: -243 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -694.1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -2440,7 +2440,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.x @@ -2448,7 +2448,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x @@ -2488,11 +2488,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: -243 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -242 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -2716,7 +2716,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &1564508664 RectTransform: m_ObjectHideFlags: 0 @@ -2915,7 +2915,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -2923,7 +2923,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -2963,11 +2963,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -1598.3 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -3088,7 +3088,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.x @@ -3096,7 +3096,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_SizeDelta.x @@ -3136,11 +3136,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.x - value: -207 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_AnchoredPosition.y - value: -2502.5 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1461643746401711787, guid: 2b7fbddaaf2c91b498f610aaddc857bd, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -3258,7 +3258,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &1935801486 RectTransform: m_ObjectHideFlags: 0 @@ -3366,7 +3366,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} m_AnchoredPosition: {x: 480.32166, y: -0} - m_SizeDelta: {x: 54, y: 3196.6} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 1} --- !u!114 &1953595786 MonoBehaviour: diff --git a/meng_yao/Assets/script/Manager.meta b/meng_yao/Assets/script/Manager.meta new file mode 100644 index 000000000..7b82f232c --- /dev/null +++ b/meng_yao/Assets/script/Manager.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 394b80edc1cf2e646b4aef583067b08d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/Manager/JumpScene.cs b/meng_yao/Assets/script/Manager/JumpScene.cs new file mode 100644 index 000000000..1f004dc6a --- /dev/null +++ b/meng_yao/Assets/script/Manager/JumpScene.cs @@ -0,0 +1,79 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.SceneManagement; + +public class JumpScene : MonoBehaviour +{ + public Dictionary SceneLoad = new Dictionary(); + public static JumpScene instance; + + public string Choose_the_main_character; + public string clan_slices; + public string cultivation_gem_island_slices; + public string cultivation_gold_coin_Island; + public string cultivation_Jinsha_mine_slices; + public string develop_Scene; + public string develop_the_main_interface_slices; + public string eco_tree_achievement; + public string ecological_tree_network_wide_data_slices; + public string envirmentTreeReward_Scene; + public string fight_slices; + public string first_charge_slices; + public string forging_slices; + public string general_slices; + public string heroBg; + public string heroes_Pavilion_slices; + public string list_scene; + public string loading; + public string lock_demon_tower; + public string main_scene; + public string mining_goldCoin_Scene; + public string Obtain_power_ups; + public string personalinformation_slices; + public string shop_scene; + public string signin; + public string upLevel_Scene; + // Start is called before the first frame update + void Start() + { + instance = this; + Init(); + } + void Init() + { + SceneLoad.Add(Choose_the_main_character, "Choose_the_main_character"); + SceneLoad.Add(clan_slices, "clan_slices"); + SceneLoad.Add(cultivation_gem_island_slices, "cultivation_gem_island_slices"); + SceneLoad.Add(cultivation_gold_coin_Island, "cultivation_gold_coin_Island"); + SceneLoad.Add(cultivation_Jinsha_mine_slices, "cultivation_Jinsha_mine_slices"); + SceneLoad.Add(develop_Scene, "develop_Scene"); + SceneLoad.Add(develop_the_main_interface_slices, "develop_the_main_interface_slices"); + SceneLoad.Add(eco_tree_achievement, "eco_tree_achievement"); + SceneLoad.Add(ecological_tree_network_wide_data_slices, "ecological_tree_network_wide_data_slices"); + SceneLoad.Add(envirmentTreeReward_Scene, "envirmentTreeReward_Scene"); + SceneLoad.Add(fight_slices, "fight_slices"); + SceneLoad.Add(first_charge_slices, "first_charge_slices"); + SceneLoad.Add(forging_slices, "forging_slices"); + SceneLoad.Add(general_slices, "general_slices"); + SceneLoad.Add(heroBg, "heroBg"); + SceneLoad.Add(heroes_Pavilion_slices, "heroes_Pavilion_slices"); + SceneLoad.Add(list_scene, "list_scene"); + SceneLoad.Add(loading, "loading"); + SceneLoad.Add(lock_demon_tower, "lock_demon_tower"); + SceneLoad.Add(main_scene, "main_scene"); + SceneLoad.Add(mining_goldCoin_Scene, "mining_goldCoin_Scene"); + SceneLoad.Add(Obtain_power_ups, "Obtain power-ups"); + SceneLoad.Add(personalinformation_slices, "personalinformation_slices"); + SceneLoad.Add(shop_scene, "shop_scene"); + SceneLoad.Add(signin, "signin"); + SceneLoad.Add(upLevel_Scene, "upLevel_Scene"); + } + + public void LoadScene(string load) + { + SceneManager.LoadScene(load); + } + + +} diff --git a/meng_yao/Assets/script/Manager/JumpScene.cs.meta b/meng_yao/Assets/script/Manager/JumpScene.cs.meta new file mode 100644 index 000000000..dfb76a1c5 --- /dev/null +++ b/meng_yao/Assets/script/Manager/JumpScene.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b92055eda46e6ba4898abbc1c6222d9e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/Promptmgr.cs b/meng_yao/Assets/script/Manager/Promptmgr.cs similarity index 100% rename from meng_yao/Assets/script/Promptmgr.cs rename to meng_yao/Assets/script/Manager/Promptmgr.cs diff --git a/meng_yao/Assets/script/Promptmgr.cs.meta b/meng_yao/Assets/script/Manager/Promptmgr.cs.meta similarity index 100% rename from meng_yao/Assets/script/Promptmgr.cs.meta rename to meng_yao/Assets/script/Manager/Promptmgr.cs.meta