BZ易风

导航

 

2021年11月3日

摘要: 1.拼UI,挂载对应控件 2.脚本GameSetting.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public enum GameGrade { ESAY, NORMAL, D 阅读全文
posted @ 2021-11-03 23:46 BZ易风 阅读(67) 评论(0) 推荐(0) 编辑
 
摘要: 1. [MenuItem("Tools/获取场景物体")] public static void GetGameOjbect() { GameObject go = UnityEditor.Selection.gameObjects[0]; Debug.Log(go.name); } 阅读全文
posted @ 2021-11-03 08:53 BZ易风 阅读(231) 评论(0) 推荐(0) 编辑