jyhlearning

导航

2022年8月11日 #

unity 脚本

摘要: GameObject.CreatPrimitive(obj:Primitive type);//创建GameObject对象 GameObject.Find(name:string);//找到名字为name的对象 GameObject.FindGameObjectsWithTag(name:stri 阅读全文

posted @ 2022-08-11 19:48 jyhlearning 阅读(101) 评论(0) 推荐(0) 编辑

2022年8月10日 #

unity GUI控件

摘要: GUI控件 GUI.Label(postion:Rect, text:string);//显示文本 GUI.Box(postion:Rect, text:string/image:Texture, style:GUIStyle);//绘制一个盒子,里面可以放文本,图片,后面的第三个参数样式可以不填 阅读全文

posted @ 2022-08-10 19:57 jyhlearning 阅读(134) 评论(0) 推荐(0) 编辑