真Unity3d_分享一个全项目搜索引用的工具

官方提供的FindReference in Scene ,大家都懂的,鸡肋中的鸡肋都不足以形容官方的功能

官方的功能在国内肯定是不够看的

之前在鱼松的博客看到过一个Macos的解决方法,其实原理就是命令行查询

因为Macos有这样的第三方命令,而Win没有,所以一直好像有一些Find Ref的解决方案,却又不是很好用

之前也在Github看到一个哥们(鱼松的博客的Macos解决方案的提供者),完成了Win的命令行方法

但这都好像是3年前的事情了,那哥们现在Github已清空,账号也找不到

所以我就再在Github上找了另一哥们,此哥们比较守法,各项引用都比较是国外模式

无法直接使用他的项目,所以我稍微整理了下

代码量不多,却很精炼,Find Ref的功能好用

1.可以全场景,整个项目查找,甚至多于的引用也会找到,因该是绝无疏漏:

(FR2_Cache是另一个Find Reference的缓存,那个实在不好用)

2.在Console面板单击还可以跳转到原引用资源:

(场景,或者预制体,实在不能再好用了)

 

下载导入后即可使用,无需额外设置

(一键傻瓜版,rig.exe放在项目Assets里)

https://download.csdn.net/download/avi9111/11117185

 

不过在我的项目里还是资源太多,查找太慢,还是需要找找有没快速查找的方法

How can FR2 help? Just select one or more asset in Project panel and FR2 will show you: - Exactly what's being included in each scene or in each prefab. Remember that one redundant reference may resulted in asset being duplicated in each assetbundles and increase AssetBundle build sizes (Animation / Texture / Audio duplication) or degrade performance (Material duplication - increase drawcalls) - Which assets referenced to and make selected assets included in the build. This will help you confident that intermediate project assets will not be included in final build - Duplicated assets you may accidentally copy over and over. Using FR2 you can then redidrect all those references to a single copy of your choice and safely delete other duplications (usage count of those assets should now be 0) - See all assets not being referenced by any other asset so you can delete them all without worrying about breaking any references. - GUID Tools Advanced tool where you can see GUID of each asset and redirect references from one asset to another You can use this to redirect all references to TextureA (using TextureA) to TextureB, the same applied for shader, materials, mesh... Beware that replace references is very powerful yet dangerous operation you'd better don't use it if you don't understand how GUID works in Unity Other Features - Full C# source code - Top notch support 24/7 - Blazing fast - built for HUGE PROJECTS - Support with Unity 4.3+ and Unity 5.x - Quickly disable FR2 when not in used (zeroing performance cost) - Display usage count in project panel so you know which asset being used and how many times it's being used - Find script dependencies (experimental, C# only) - Export assets with references
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

avi9111

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值