Soft Mask 1.3.1UI遮挡工具插件支持渐变和半透明 Soft Mask v1.3.1 所支持的Unity版本:5.4.5 及以上版本 Soft Mask is a UI component that masks child elements. It works almost like standard Unity’s UI Mask but supports gradients and semi-transparency. Demo | Documentation | Suppor
Soft Mask v1.3.1
所支持的Unity版本:5.4.5 及以上版本
Soft Mask is a UI component that masks child elements. It works almost like standard Unity’s UI Mask but supports gradients and semi-transparency.
Demo | Documentation | Support Thread
Easy to use: just drop
本文实例为大家分享了unity实现屏幕上写字效果的具体代码,供大家参考,具体内容如下
先建立一个RawImage,然后再在这个图片上加个LineRenderer组件,再建个材质球,把材质球的Shader改成Particles/Additive,把材质球拖给LineRenderer组件的Materials/Element 0(不拖也可以),最后再把代码拖给空物体即可,代码的Target是RawImage,下面的代码
using System.Collections;
using System.C
本文实例为大家分享了Unity实现截图功能的具体代码,供大家参考,具体内容如下
一、使用Unity自带API
using UnityEngine;
using UnityEngine.UI;
public class ScreenShotTest : MonoBehaviour
{
public RawImage img;
private void Update()
{
//使用ScreenCapture.CaptureScreenshot
if (Input.Ge