@using (Html.BeginForm("Index_load", "Index_", new { }, FormMethod.Post, new { @id = "form0", @class = "form-horizontal", @enctype = "multipart/form-d ...
分类:
Web程序 时间:
2017-08-16 19:20:37
阅读次数:
226
void Update () { float x = Input.GetAxis ("Horizontal") * Time.deltaTime * speed; float z = Input.GetAxis ("Vertical") * Time.deltaTime * speed; trans ...
分类:
移动开发 时间:
2017-08-16 17:21:08
阅读次数:
195
通过键盘控制改变物体transform值 private Vector3 trans; //使用Rotate绕y 轴旋转 transform.Rotate(new Vector3(0,Input.GetAxis ("Horizontal")*30*Time.deltaTime,0)); //前后左右 ...
分类:
其他好文 时间:
2017-08-12 12:48:49
阅读次数:
151
一、<path> 标签 <path> 标签用来定义路径。 下面的命令可用于路径数据: M = moveto L = lineto H = horizontal lineto V = vertical lineto C = curveto S = smooth curveto Q = quadrati ...
分类:
其他好文 时间:
2017-08-09 12:54:35
阅读次数:
137
复合控件: 多选框:checkbox - CheckBoxList 属性:RepeatLayout:Table 按表格排布 Flow流排布 RepeatDirection:Vertical 垂直排布 Horizontal 水平排布 RepeatColumns:每一行有几列 流式布局的时候使用 单选 ...
分类:
其他好文 时间:
2017-08-06 23:14:27
阅读次数:
384
# CSS3 盒子模型 * box-sizing 值 content-box 默认值 包括所有的值 / border-box 只算边框的长与宽 * resize(调节框的大小) * 值 none不允许 / horizontal调节宽度 / vertical调节高度 / both都可以 * outli ...
分类:
Web程序 时间:
2017-08-02 19:04:25
阅读次数:
171
1、表单 基本格式,实现基本的表单样式 <form class="form-horizontal"> <div class="form-group"> <label class="col-sm-2 control-label">电子邮件</label> <div class="col-sm-10"> ...
分类:
其他好文 时间:
2017-07-30 23:34:09
阅读次数:
216
(1)form表单 <form class="form-horizontal row" role="form" action="<{url route='shopadmin' app=sysfinance ctl='admin_tradeList' act=index}>" method="post ...
分类:
其他好文 时间:
2017-07-22 17:00:17
阅读次数:
276
对于第三人称的游戏,主人公身上一般加一个character controller用来控制移动。这时候需要自己模拟重力,让主人公站在地板上。如果用A D控制左右, W S控制前后,那么控制移动代码可以这么写: 使用Input.GetAxis方法获取下列默认轴: "Horizontal" 和"Verti ...
分类:
移动开发 时间:
2017-07-16 18:27:28
阅读次数:
199
实现多点触碰是利用input这个类里面的方法实现的。 从edit-project settings-input就可以看到input能够得到的轴。 想要读取轴向可以使用Input.GetAxis方法获取下列默认轴: “Horizontal” 和“Vertical” 映射于控制杆、A、W、S、D和箭头键 ...
分类:
编程语言 时间:
2017-07-12 13:51:20
阅读次数:
331