没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
var speed = 6.0; var jumpSpeed = 8.0; var gravity = 20.0; private var moveDirection = Vector3.zero; private var grounded : boolean = false; function FixedUpdate() { if (grounded) { // We are grounded, so recalculate movedirection directly from axes moveDirection = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical")); moveDirection = transform.TransformDirection(moveDirection); moveDirection *= speed; if (Input.GetButton ("Jump")) { moveDirection.y = jumpSpeed; } } // Apply gravity moveDirection.y -= gravity * Time.deltaTime; // Move the controller )
资源推荐
资源详情
资源评论
收起资源包目录
.rar (82个子文件)
tu
Assets
New Material.mat 4KB
zb.jpg 20KB
Standard Assets
Camera Scripts
MouseLook.cs 3KB
Scripts
FPSWalker.js 842B
Radar.js 5KB
New Material 1.mat 4KB
Radar
EnemyAI.js 624B
Images
Thumbs.db 6KB
Blue.png 5KB
Scene
DemoScene.unity 28KB
Player.prefab 16KB
Library
unity default resources 2.07MB
BuildPlayer.prefs 0B
QualitySettings.asset 4KB
ProjectSettings.asset 2KB
cache
f4
f6
c9
d4
32
1c
cb
3c
a9
04
59
27
e6
53
a8
0e
99
67
e0
c4
ba
f2
5d
51
70
c0
84
36
3670efd228d514afcb4ca365cd70259f 3KB
2e
69
e5
4f
4ffe5021ab31345d8be178a0223ca5e6 2KB
4feb345e823dc41bcb0e357014dd19ae 24KB
90
4c
30
87
91
918f6f66ac66d45e5af9f03527eb3aa5 2KB
ec
ce
0d
0a
d8
b1
18
23
11
bd
dc
3f
16
b0
b03d552771d024f8a844198809d5c02b 2KB
76
c5
57
8b
da
68
68ec2fe99d1108b9d0006a298d76c639 5KB
44
b6
cc
2a
19
89
ea
ea10a376a6c79b5438efc40cc3ca77c7 184KB
cd
88
54
1b
9d
9dea4d95d8e76f74f82e3ad273538399 7KB
c6
14
4b
9c
ae
47
47bb4669ad11abd5d00015498d76c639 3KB
98
64
de
66
a0
96
9a
a5
ef
af
31
6e
ff
ffcc62515588749b68ffa797ba33fb4d 2KB
09
38
3860cc6d978b24ee08d22f2a77eefc1e 2KB
5b
ca
b9
2c
52
fa
6b
46
bf
be
94
15
25
a4
95
78
5a
79
1f
7b
f9
c2
d0
e2
34
8a
a3
f7
e9
c8
00
0000000000000000b000000000000000 469B
00000000000000001000000000000000 2KB
00000000000000005000000000000000 2KB
1d
ac
a6
2f
2f6c2fb1fb11b4863956166509c9646f 2KB
8c
60
d3
f8
8e
7a
62
41
01
2b
2b127a17ed9f74bd99a0b06ae5bf25b4 2KB
24
9b
97
bc
InputManager.asset 3KB
FailedAssetImports.txt 0B
AssetVersioning.db 14KB
assetDatabase3 32KB
InspectorExpandedItems.asset 1KB
guidmapper 1KB
BuildSettings.asset 781B
metadata
f4
f6
c9
d4
32
1c
cb
3c
a9
04
59
27
e6
53
a8
0e
99
67
e0
c4
ba
f2
5d
51
70
c0
84
36
3670efd228d514afcb4ca365cd70259f 5KB
2e
69
e5
4f
4ffe5021ab31345d8be178a0223ca5e6 2KB
4feb345e823dc41bcb0e357014dd19ae 3KB
90
4c
30
30d0cd53b4327b24d81de4225ee087fa 2KB
87
91
918f6f66ac66d45e5af9f03527eb3aa5 2KB
ec
ce
0d
0a
d8
b1
18
23
11
bd
dc
3f
16
b0
b03d552771d024f8a844198809d5c02b 2KB
76
c5
57
8b
da
68
68ec2fe99d1108b9d0006a298d76c639 5KB
44
b6
cc
2a
19
89
ea
ea10a376a6c79b5438efc40cc3ca77c7 3KB
cd
88
54
1b
9d
9dea4d95d8e76f74f82e3ad273538399 5KB
c6
14
4b
9c
ae
47
47bb4669ad11abd5d00015498d76c639 5KB
98
64
de
66
a0
96
9a
a5
ef
af
31
6e
ff
ffcc62515588749b68ffa797ba33fb4d 2KB
09
38
3860cc6d978b24ee08d22f2a77eefc1e 2KB
5b
ca
b9
2c
52
fa
6b
46
bf
be
94
15
25
25c7d5b29d114adbd00050198d76c639 2KB
a4
95
78
5a
79
1f
7b
f9
c2
d0
e2
34
8a
a3
f7
e9
c8
00
00000000000000007000000000000000 2KB
0000000000000000a000000000000000 2KB
00000000000000003000000000000000 2KB
00000000000000004000000000000000 2KB
00000000000000009000000000000000 2KB
00000000000000002000000000000000 2KB
0000000000000000b000000000000000 2KB
00000000000000001000000000000000 2KB
00000000000000005000000000000000 2KB
00000000000000006000000000000000 2KB
00000000000000008000000000000000 2KB
1d
ac
a6
2f
2f6c2fb1fb11b4863956166509c9646f 2KB
8c
60
d3
d317613ad1c56f74fb65f4b463a02ca8 2KB
f8
8e
7a
62
41
01
2b
2b127a17ed9f74bd99a0b06ae5bf25b4 2KB
24
9b
97
bc
TimeManager.asset 396B
expandedItems 1012B
TagManager.asset 5KB
ScriptAssemblies
Assembly - UnityScript - first pass.dll 3KB
Assembly - UnityScript.dll.mdb 2KB
Assembly - CSharp - first pass.dll.mdb 780B
Assembly - CSharp - first pass.dll 5KB
Assembly - UnityScript - first pass.dll.mdb 473B
Assembly - UnityScript.dll 6KB
DynamicsManager.asset 936B
NetworkManager.asset 867B
unity editor resources 3.4MB
ScriptMapper 8KB
EditorBuildSettings.asset 904B
MonoManager.asset 3KB
AudioManager.asset 443B
assetservercachev3 2KB
共 82 条
- 1
资源评论
- 虐码锅锅2016-04-06给了我很大帮助!!
汪汪汪_喵喵喵
- 粉丝: 1
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功