2015年8月10日

unity, UGUI Text fadeIn

摘要: 错误写法: Colorcolor=m_text.GetComponent().color;ColorstartColor=newColor(color.r,color.g,color.b,0f);ColorendColor=newColor(color.r,color.g,color.b,1... 阅读全文

posted @ 2015-08-10 19:33 wantnon 阅读(690) 评论(0) 推荐(0)

unity, write/read txt file

摘要: 在Assets下新建文件夹StreamingAssets。然后下面代码可在其中生成test.txt文件,并读写:usingUnityEngine;usingSystem.Collections;usingSystem.IO;usingSystem.Collections.Generic;public... 阅读全文

posted @ 2015-08-10 13:18 wantnon 阅读(1100) 评论(0) 推荐(0)

导航