
1.实现走动 (1.识别摇杆方向给予物体X方向的速度 (2.使用赋予速度的方式使其移动 (3.不管摇杆深度,只管摇杆方向 2.实现跳跃 (1.只能跳跃一段 (2.只有着地的时候能够跳跃 (3.使用赋予速度的方法使其跳跃 3.增大了重力系数以增加2D游戏感
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!21 &2100000
|
|
Material:
|
|
serializedVersion: 6
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_Name: "\u65B0\u5EFA\u6750\u8D28"
|
|
m_Shader: {fileID: 4800000, guid: e260cfa7296ee7642b167f1eb5be5023, type: 3}
|
|
m_ShaderKeywords:
|
|
m_LightmapFlags: 4
|
|
m_EnableInstancingVariants: 0
|
|
m_DoubleSidedGI: 0
|
|
m_CustomRenderQueue: -1
|
|
stringTagMap: {}
|
|
disabledShaderPasses: []
|
|
m_SavedProperties:
|
|
serializedVersion: 3
|
|
m_TexEnvs:
|
|
- _AlphaTex:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _MainTex:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _MaskTex:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _NormalMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
m_Floats:
|
|
- _EnableExternalAlpha: 0
|
|
m_Colors:
|
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
|
m_BuildTextureStacks: []
|