08 2021 档案
摘要:效果图: shader 代码 Shader "My/WaveDiffusion" { Properties { //shader放一张图片,图片需要与要显示模型上材质球上图片一致,不放没有效果, _MainTex("Texture", 2D) = "white" {} } SubShader { C
阅读全文
摘要:1.简单记录一下,不喜勿喷 首先下载DoTween插件 直接上代码,代码不多,好几个动画放一起,一起播放 using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening;
阅读全文
摘要:1.把脚本挂在text上调节颜色即可,废话不多说,直接上 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// **
阅读全文