文章分类 - Unity / Unity - 编辑器
摘要:https://github.com/halak/unity-editor-icons
阅读全文
摘要:Type t = typeof(EditorWindow).Assembly.GetType("UnityEditor.InspectorWindow"); var window = EditorWindow.GetWindow(t); t.GetProperty("isLocked").SetVa
阅读全文
摘要:https://blog.csdn.net/ZFSR05255134/article/details/109385292 https://docs.unity3d.com/Manual/class-GUISkin.html
阅读全文
摘要:大纲: TestBackpack // 背包 TestGrid // 格子 - 空格子/物品信息格子 TestBackpackSO // 背包配置 - 存储所有物品信息 TestItemSO // 物体配置 关键代码:
阅读全文
摘要:https://blog.csdn.net/qq_34444468/article/details/79149113
阅读全文
摘要:参考文章地址: https://blog.cha.moe/article/95eccc99 传送门: https://unityitellyou.github.io/DownloadInfos/6 https://unity.com/releases/editor/archive
阅读全文
摘要:脚本内容: public class MenuTool { private static string path = "Assets/TemplateClass.txt"; [MenuItem("Assets/创建模板类")] public static void GanerateTemplateC
阅读全文
摘要:参考链接: https://gameinstitute.qq.com/community/detail/127564
阅读全文
摘要:https://blog.51cto.com/u_15296378/4969538?b=totalstatistic https://www.cnblogs.com/xiaoyulong/p/10120565.html youtube教程: Behavior Node Editor: https:/
阅读全文
摘要:[Serializable] public struct CrossData { public Image CrossImage; public Transform CrossCurrentTransform; public Transform CrossDefaultTransform; }
阅读全文
摘要:A 制作菜单工具 [MenuItem("Assets/生成配置")] public static void Create() { Debug.Log("生成配置"); } B 资源聚焦 EditorUtility.FocusProjectWindow(); // 聚焦 Selection.activ
阅读全文
摘要:A Gizmod 颜色添加 1 private void OnDrawGizmos() { 2 if (null != enemy) { 3 Gizmos.color = Color.red; 4 Gizmos.DrawLine(transform.position, enemy.position)
阅读全文

浙公网安备 33010602011771号