kingBook

导航

2022年8月26日 #

UnityEditor Undo

摘要: 最重要的几项操作如下所述: 修改单个属性: Undo.RecordObject (myGameObject.transform, "Zero Transform Position"); myGameObject.transform.position = Vector3.zero; 添加组件: Und 阅读全文

posted @ 2022-08-26 14:00 kingBook 阅读(76) 评论(0) 推荐(0) 编辑

UnityEditor 查找和获取内置资源

摘要: Object[] UnityAssets = AssetDatabase.LoadAllAssetsAtPath("Resources/unity_builtin_extra"); foreach (var asset in UnityAssets) { Debug.Log(asset); } De 阅读全文

posted @ 2022-08-26 12:22 kingBook 阅读(173) 评论(0) 推荐(0) 编辑