
1.实现走动 (1.识别摇杆方向给予物体X方向的速度 (2.使用赋予速度的方式使其移动 (3.不管摇杆深度,只管摇杆方向 2.实现跳跃 (1.只能跳跃一段 (2.只有着地的时候能够跳跃 (3.使用赋予速度的方法使其跳跃 3.增大了重力系数以增加2D游戏感
127 lines
3.4 KiB
Plaintext
127 lines
3.4 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &-6851177785151657436
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 11
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
version: 4
|
|
--- !u!21 &2100000
|
|
Material:
|
|
serializedVersion: 6
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_Name: Blank
|
|
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
|
m_ShaderKeywords:
|
|
m_LightmapFlags: 4
|
|
m_EnableInstancingVariants: 0
|
|
m_DoubleSidedGI: 0
|
|
m_CustomRenderQueue: 2000
|
|
stringTagMap:
|
|
RenderType: Opaque
|
|
disabledShaderPasses: []
|
|
m_SavedProperties:
|
|
serializedVersion: 3
|
|
m_TexEnvs:
|
|
- _BaseMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _BumpMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _DetailAlbedoMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _DetailMask:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _DetailNormalMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _EmissionMap:
|
|
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}
|
|
- _MetallicGlossMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _OcclusionMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _ParallaxMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- _SpecGlossMap:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- unity_Lightmaps:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- unity_LightmapsInd:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
- unity_ShadowMasks:
|
|
m_Texture: {fileID: 0}
|
|
m_Scale: {x: 1, y: 1}
|
|
m_Offset: {x: 0, y: 0}
|
|
m_Floats:
|
|
- _AlphaClip: 0
|
|
- _Blend: 0
|
|
- _BumpScale: 1
|
|
- _ClearCoatMask: 0
|
|
- _ClearCoatSmoothness: 0
|
|
- _Cull: 2
|
|
- _Cutoff: 0.5
|
|
- _DetailAlbedoMapScale: 1
|
|
- _DetailNormalMapScale: 1
|
|
- _DstBlend: 0
|
|
- _EnvironmentReflections: 1
|
|
- _GlossMapScale: 1
|
|
- _Glossiness: 0.5
|
|
- _GlossyReflections: 1
|
|
- _Metallic: 0
|
|
- _Mode: 0
|
|
- _OcclusionStrength: 1
|
|
- _Parallax: 0.02
|
|
- _QueueOffset: 0
|
|
- _ReceiveShadows: 1
|
|
- _Smoothness: 0.5
|
|
- _SmoothnessTextureChannel: 0
|
|
- _SpecularHighlights: 1
|
|
- _SrcBlend: 1
|
|
- _Surface: 0
|
|
- _UVSec: 0
|
|
- _WorkflowMode: 1
|
|
- _ZWrite: 1
|
|
m_Colors:
|
|
- _BaseColor: {r: 0.35349885, g: 0.2793103, b: 1, a: 1}
|
|
- _Color: {r: 0.35349885, g: 0.2793103, b: 1, a: 1}
|
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
|
- _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
|
|
m_BuildTextureStacks: []
|