随笔分类 -  unity

摘要:public class button : MonoBehaviour { public GameObject obj;//声明Text游戏对象 private int counter = 1;//声明计数器连良 void Update() { if (counter % 2 == 0)//当计数器 阅读全文
posted @ 2020-03-09 20:07 七只蚂蚁 阅读(178) 评论(0) 推荐(0)
摘要:public class demo : MonoBehaviour { public Texture texture; private bool textBool = false;toggle private bool textureBool = true; private void OnGUI() 阅读全文
posted @ 2020-03-09 19:02 七只蚂蚁 阅读(359) 评论(0) 推荐(0)
摘要:1 static functionPasswordField (position:Rect,password:String,maskChar:char):String 2 3 static functionPasswordField (position:Rect,password:String,ma 阅读全文
posted @ 2020-03-07 11:08 七只蚂蚁 阅读(443) 评论(0) 推荐(0)