自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 运行时输出drawcall、顶点数量

$运行时输出drawcall、顶点数量。 $https://docs.unity3d.com/2020.2/Documentation/Manual/ProfilerRendering.html?continueFlag=a795970d585940c1b9ba34c4e7cb6a3e

2021-02-22 04:25:34 1283 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 365

原创 捏脸捏身体种,删除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 844

原创 扫描预制体的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 131

原创 显示当前帧速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 254

原创 加载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 127

原创 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 181 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除