
unity美术工具
jiachong86
这个作者很懒,什么都没留下…
展开
-
运行时输出drawcall、顶点数量
$运行时输出drawcall、顶点数量。 $https://docs.unity3d.com/2020.2/Documentation/Manual/ProfilerRendering.html?continueFlag=a795970d585940c1b9ba34c4e7cb6a3e原创 2021-02-22 04:25:34 · 1574 阅读 · 1 评论 -
Urp7.4.3改unity2019.3低版本支持
Urp7.4.3改unity2019.3低版本支持类似问题:unity社区Github记录Github步骤1找到文件复制github代码修改 package.json步骤2注释掉报错代码,等待重新编译。等待时间较长,需要把整个项目资源重新编译。7.4之后灯光有变化不支持低版本完成后可使用。附:URP软件包版本与Unity编辑器版本的兼容性...原创 2021-02-10 12:40:37 · 469 阅读 · 0 评论 -
捏脸捏身体种,删除bip骨骼缩放
总体思路:动作信息存在动画片段中骨骼的位移,旋转和缩放。缩放一般很少用,可能在一些显示隐藏中使用。捏骨通过骨骼缩放骨骼缩放实现,体型存在骨骼的缩放中,和动作不相冲突删除列表:using System.Collections;using System.Collections.Generic;using UnityEngine;public class PathData_female{ public static string[] data = { "Bip001/Bip001 Pelv原创 2021-02-07 16:30:59 · 961 阅读 · 0 评论 -
扫描预制体的shader类型
扫描预制体的shader类型 [MenuItem("工具/测试工具/扫描场景预制体")] public static void ScanScenePrefab() { GameObject go = Selection.activeObject as GameObject; if (go != null) { foreach (var renderer in go.GetComponentsInChildren<原创 2021-02-04 11:41:19 · 164 阅读 · 0 评论 -
显示当前帧速FPS
显示当前帧速FPSusing System.Collections;using System.Collections.Generic;using UnityEngine;public class ShowFPS : MonoBehaviour{ float _updateInterval = 1f;//设定更新帧率的时间间隔为1秒 float _accum = .0f;//累积时间 int _frames = 0;//在_updateInterval时间内运行了多原创 2021-02-03 14:02:39 · 305 阅读 · 0 评论 -
加载lightmap
载入lightmapusing UnityEngine;using System.Collections;using System.Collections.Generic;public class PrefabLightmapData : MonoBehaviour{ [System.Serializable] struct RendererInfo { public Renderer renderer; public int lightm原创 2021-01-20 09:41:12 · 158 阅读 · 0 评论 -
unity内工具 待机勾选循环和查找特定预制体是否有子级
美术资源工具 unity内查找特定预制体是否有子级unity内工具 待机勾选循环和查找特定预制体是否有子级区分查找美术资源内有无特定子级,比如:根据资源内不同hero的类型(近远程)不一样,attack下有无子级作为区分,快速查找attack下有无子级。上部分为循环动作待机‘standby’勾选循环下部AAA/BBB为子级查找using System.Collections;using System.Collections.Generic;using System.IO;using Sys原创 2021-01-20 09:29:02 · 226 阅读 · 1 评论