会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
萧然CS
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2019年2月13日
【Unity】修改Inspector面板序列化数组时元素的显示名称(Element)
摘要: 记录一个有趣的问题,如图~ [System.Serializable]public class Item{ //只能是string类型 且必须是第一个属性 //才能修改Inspector面板序列化数组时元素的显示名称(原名称为Element) ...
阅读全文
posted @ 2019-02-13 17:54 萧然CS
阅读(508)
评论(0)
推荐(0)
【C#】正则表达式匹配/替换指定字符串
摘要: using System.Collections;using System.Collections.Generic;using System.Text.RegularExpressions;using UnityEngine;public class Test...
阅读全文
posted @ 2019-02-13 16:56 萧然CS
阅读(708)
评论(0)
推荐(1)
【Unity】用PropertyDrawer自定义Inspector面板显示外观
摘要: 举栗如图,将数组以二维矩阵的方式显示到Inspector面板 using UnityEngine;using UnityEditor;[System.Serializable]public class InspectorGrid{ public int...
阅读全文
posted @ 2019-02-13 11:53 萧然CS
阅读(224)
评论(0)
推荐(0)
公告