一、前言最近项目上要实现一个模型渐隐渐现的效果,研究了一下,分享出来。 这个主要是用到了Shader(但不用学)和DoTween动画插件。 using UnityEngine; using System.Collections; public class TestClass : MonoBehaviour { private float AlphaValue = 1.0f; private float time = 0
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有