unityEditor
警醒与鞭策
『卧薪尝胆』不同阶段,不同目标!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
有关Editor记录(二)
//=============有关Editor记录(二)==========转载 2020-10-25 22:25:25 · 198 阅读 · 0 评论 -
有关Editor的记录(一)
//////////////////////////ScrollView滚动卡顿优化//////////////////////////////// 为什么要对ScrollView滚动卡顿做优化?是因为在使用 Unity 开发游戏的时候,经常会需要用到数据配置,方式可能是CSV、JSON等等。为了可以方便地查看修改数据,通常使用实现ScrollView在 Unity 编辑器里面以列表的形式查看数据。 当数据量大的时候,滚动视图会发现卡顿不断,测试代码如下: ? 1 2 ...转载 2020-10-21 23:19:18 · 415 阅读 · 0 评论 -
一些Editor整理(为自己)
特效发射粒子数 查找 思路步骤如下: 1.在Editor文件夹下新建一个脚本文件,命名为EffectEmitChecker.cs 2.Resource.LoadAll所有的特效文件存入一个数组 3.循环遍历特效数组并PrefabUtility.InstantiatePrefab()生成一个实例 4.获取ParticleEmitter组件,并把相...转载 2016-07-20 16:02:31 · 1282 阅读 · 0 评论 -
Unity PropertyDrawer 与 make your lists functional with ReorderableList
Unity PropertyDrawer做泛型可排序列表 using System.Collections.Generic; public class ReorderableListBase { } public class ReorderableList<T> : ReorderableListBase { public List<T> Lis...转载 2018-11-18 19:02:38 · 2110 阅读 · 0 评论 -
一些常用Editor功能记录(为自己)
///////////////////////////////////////////////////////Common Editor Tool wrapper class/////////////////////// public class HorizontalBlock : IDisposable { public HorizontalBlock(params G...翻译 2019-05-06 22:37:22 · 752 阅读 · 0 评论
分享