loading 请求处理中...
广告

描述

UnmaskForUGUI

UnmaskForUGUI是给ugui元素做反向遮罩的插件。
Unmask提供以下功能:
  • 反遮罩
  • 穿过无遮罩矩形
  • 跟随另一个对象
  • 支持嵌套

使用方法

  1. Add Unmask component to the UI element (Image, RawImage, Text, etc...) under Mask, from Add Component in inspector or   Component > UI > Unmask > Unmask menu.
  2. If you want to unmask the area of the button, follow the steps below:
    • Set the button to Fit Target in Unmask component.
    • If the button moves with animation etc., enable Fit On LateUpdate in Unmask component.
    • Add a UnmaskRaycastFilter component to UI element blocking ray.
    • Set the Unmask to Unmask in UnmaskRaycastFilter component.
    • Disable RaycastTarget of the UI elements, as necessary.
  3. Enjoy!

需要2金币 20 积分 ( 如何获取金币与积分

立刻下载 充值用户享受专属客服服务

免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!

发布者信息

好评率0%

发布素材9