© 1999-2048 dssz.net 粤ICP备11031372号
[其它] Unity实现UI渐隐渐显效果
说明:本文实例为大家分享了Unity实现UI渐隐渐显效果的具体代码,供大家参考,具体内容如下 1、在UI对象上添加组件:CanvasGroup; 2、在对象上添加脚本:UI_FadeInFadeOut 脚本; 脚本信息: (Blocks Raycasts=true可以交互;Blocks Raycasts=false无法交互) using System.Collections; using System.Collections.Generic; using UnityEngine; /// ///<weixin_38609002> 上传 | 大小:76kb