6277| 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-5-7 20:30 , Processed in 0.135120 second(s), 28 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.