Translucent UI v5.1 是 Unity 的 UI 半透明模糊方案,两段脚本接进摄像机和画布就能用,已在 Windows、Mac、iOS、Android 与 WebGL 测过。
半透明UI是一种高度优化的解决方案,用于为UI图像添加半透明效果。
集成非常简单快捷。只需将一个脚本放在主摄像机上,一个放在帆布上,就可以使用了。
特征:
*UI元素背后的模糊。
*模糊整个背景场景。
*模糊可以用不同的内核大小来实现。
*可以使用用户定义的迭代次数进行模糊处理。
*用户界面图像的透明度可以更改。
*灰度值可用于转换黑白模糊背景。
*亮度可以相应调整。
*高度优化。
*可用于移动设备,但不是很旧的设备,因为模糊场景不是一项轻量级任务。
*易于快速集成。
*简单的文档。
所有平台都支持。在windows、mac、ios、android和webGL上进行了测试。
此处提供文档!!!
Translucent UI is highly optimized solution for adding translucency to your UI images.
Very easy and quick to integrate. Just put one script to your mAIn camera and one to your canves and you are set and ready to use.
Features :
* Blur behind UI elements.
* Blur whole background scene.
* Blur can be done with different kernal size.
* Blur can be done with user defined no. of iteration.
* Transparency of ui image can be changed.
* Greyscale value can be used to convert blurred background in black and white.
* Brightness can be adjusted accordingly.
* Highly optimized.
* Works with mObile devices but not very old devices since blurring the scene is not a light weight task.
* Easy and quick to integrate.
* Easy documentation.
Supported on all platforms. Tested on windows, mac, ios, android, webGL.
Download the android apk to see performance on your android mobile device.
相关资源:卡通糖果三消游戏套装Candy Match 3 Kit · 冒险游戏创造系统Adventure Creator · Unity编辑器控制台替代品-Editor Console Pro v3.966
常见问题
怎么集成?
一个脚本挂到主摄像机上,一个挂到画布上,就能直接用了,不需要额外接线。
能模糊哪些内容?
可以模糊 UI 元素背后的内容,也可以整屏模糊背景场景,模糊核大小与迭代次数都能自定义。
还能调什么?
UI 图像的透明度、灰度值(可转成黑白)与亮度都能调,模糊强度也跟着变。
支持哪些平台?
全平台支持,已在 Windows、Mac、iOS、Android 与 WebGL 上测过。
老手机能跑吗?
能跑移动端,但原文提醒很旧的设备不行,因为模糊整个场景本身不是轻量任务。
支持哪些 Unity 版本?
原文未提供。页面只讲集成方式与平台测试情况,没有标注 Unity 版本区间。




评论(0)