文章分类 -  Unity / Unity - 编辑器

摘要:https://github.com/halak/unity-editor-icons 阅读全文
posted @ 2023-11-03 17:46 匿鱼 阅读(8) 评论(0) 推荐(0)
摘要:Type t = typeof(EditorWindow).Assembly.GetType("UnityEditor.InspectorWindow"); var window = EditorWindow.GetWindow(t); t.GetProperty("isLocked").SetVa 阅读全文
posted @ 2023-10-24 10:43 匿鱼 阅读(11) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/ZFSR05255134/article/details/109385292 https://docs.unity3d.com/Manual/class-GUISkin.html 阅读全文
posted @ 2023-09-15 11:48 匿鱼 阅读(7) 评论(0) 推荐(0)
摘要:大纲: TestBackpack // 背包 TestGrid // 格子 - 空格子/物品信息格子 TestBackpackSO // 背包配置 - 存储所有物品信息 TestItemSO // 物体配置 关键代码: 阅读全文
posted @ 2023-08-23 15:20 匿鱼 阅读(52) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_34444468/article/details/79149113 阅读全文
posted @ 2023-08-21 11:50 匿鱼 阅读(154) 评论(0) 推荐(0)
摘要:参考文章地址: https://blog.cha.moe/article/95eccc99 传送门: https://unityitellyou.github.io/DownloadInfos/6 https://unity.com/releases/editor/archive 阅读全文
posted @ 2023-08-17 15:24 匿鱼 阅读(192) 评论(0) 推荐(0)
摘要:脚本内容: public class MenuTool { private static string path = "Assets/TemplateClass.txt"; [MenuItem("Assets/创建模板类")] public static void GanerateTemplateC 阅读全文
posted @ 2022-05-06 14:33 匿鱼 阅读(30) 评论(0) 推荐(0)
摘要:参考链接: https://gameinstitute.qq.com/community/detail/127564 阅读全文
posted @ 2022-05-05 17:48 匿鱼 阅读(92) 评论(0) 推荐(0)
摘要:https://blog.51cto.com/u_15296378/4969538?b=totalstatistic https://www.cnblogs.com/xiaoyulong/p/10120565.html youtube教程: Behavior Node Editor: https:/ 阅读全文
posted @ 2022-04-22 11:54 匿鱼 阅读(35) 评论(0) 推荐(0)
摘要:[Serializable] public struct CrossData { public Image CrossImage; public Transform CrossCurrentTransform; public Transform CrossDefaultTransform; } 阅读全文
posted @ 2021-09-05 10:25 匿鱼 阅读(20) 评论(0) 推荐(0)
摘要:A 制作菜单工具 [MenuItem("Assets/生成配置")] public static void Create() { Debug.Log("生成配置"); } B 资源聚焦 EditorUtility.FocusProjectWindow(); // 聚焦 Selection.activ 阅读全文
posted @ 2021-08-09 15:57 匿鱼 阅读(27) 评论(0) 推荐(0)
摘要:A Gizmod 颜色添加 1 private void OnDrawGizmos() { 2 if (null != enemy) { 3 Gizmos.color = Color.red; 4 Gizmos.DrawLine(transform.position, enemy.position) 阅读全文
posted @ 2021-08-09 10:43 匿鱼 阅读(31) 评论(0) 推荐(0)