Cute_demon_attacks/meng_yao/Assets/script/Manager/JumpScene.cs
2024-10-28 15:37:21 +08:00

80 lines
3.2 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class JumpScene : MonoBehaviour
{
public Dictionary<string, string> SceneLoad = new Dictionary<string, string>();
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);
}
}