5683| 72
|
[脚本] Unity3D 图片渐变代码 就一行 |
点评
this.renderer.sharedMaterial.color = Color.Lerp(Color.white, Color.magenta, Mathf.PingPong(Time.time, 1f) / 1);
写在Updata里面
| ||
| ||
| ||
| ||
小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )
GMT+8, 2025-2-19 06:06 , Processed in 0.301911 second(s), 31 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.