枚举类型与字符串添加字典互转ConvertEnumToString using UnityEngine; using System.Collections; using UnityEngine.UI; using Enums; public class startScene : MonoBehaviour { //点击事件 public void startOnClick() { global_Mgr.EnterNextScenes(Scenes.MainMenuScene) } } using…