摘要: 2.脚本 1)弹弓脚本 1-input.GetButton函数测试 说明: input.GetButton(“...”)是根据按钮名称返回true当对应的虚拟按钮被按住时 input.GetButton(“Fire1”):判断是否点击鼠标或触摸屏 实测: void Update () { bool  阅读全文
posted @ 2016-08-30 22:33 黑眼眶 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 1.材料创建 1)企鹅、猪 1.建立面片(plane),调整大小,与旋转位置(z-90:竖立 ; y-180:转至正面) 2.对物体加载材质(materials) 设置:去除背景色 材质组件 -> Unlit/Transparent -> Unlit -> transparent 3.为物体添加组件 阅读全文
posted @ 2016-08-30 22:21 黑眼眶 阅读(181) 评论(0) 推荐(0) 编辑