摘要:
1.拼UI,挂载对应控件 2.脚本GameSetting.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public enum GameGrade { ESAY, NORMAL, D 阅读全文
摘要:
1. [MenuItem("Tools/获取场景物体")] public static void GetGameOjbect() { GameObject go = UnityEditor.Selection.gameObjects[0]; Debug.Log(go.name); } 阅读全文