5392| 72
|
[脚本] Unity3D 图片渐变代码 就一行 |
点评
this.renderer.sharedMaterial.color = Color.Lerp(Color.white, Color.magenta, Mathf.PingPong(Time.time, 1f) / 1);
写在Updata里面
| ||
发表于 2013-4-8 10:28
|
显示全部楼层
| ||
发表于 2013-4-20 12:56
|
显示全部楼层
| ||
发表于 2013-6-14 11:31
|
显示全部楼层
| ||
小黑屋|手机版|Unity开发者联盟 ( 粤ICP备20003399号 )
GMT+8, 2024-11-23 20:25 , Processed in 0.099415 second(s), 28 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.