clean project
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2314ce3a3eecf4816bad3c9eca4de2e1
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,358 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &100000
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400000}
|
||||
- 33: {fileID: 3300000}
|
||||
- 23: {fileID: 2300000}
|
||||
m_Layer: 0
|
||||
m_Name: Graphics
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1 &100002
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400002}
|
||||
- 143: {fileID: 14300000}
|
||||
- 114: {fileID: 11400000}
|
||||
- 114: {fileID: 11400002}
|
||||
- 114: {fileID: 11400004}
|
||||
m_Layer: 0
|
||||
m_Name: First Person Controller
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1 &100004
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400004}
|
||||
- 20: {fileID: 2000000}
|
||||
- 92: {fileID: 9200000}
|
||||
- 124: {fileID: 12400000}
|
||||
- 114: {fileID: 11400006}
|
||||
- 81: {fileID: 8100000}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400000
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_LocalRotation: {x: -0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: .400000006, y: .5, z: .400000006}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 400002}
|
||||
m_RootOrder: 0
|
||||
--- !u!1002 &400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400002
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -30.7649231, y: 3.25786257, z: -74.3138885}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 400000}
|
||||
- {fileID: 400004}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
--- !u!1002 &400003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400004
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: .907083511, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 400002}
|
||||
m_RootOrder: 1
|
||||
--- !u!1002 &400005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!20 &2000000
|
||||
Camera:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: .19166474, g: .301966369, b: .474509805, a: 1}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: .300000012
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 100
|
||||
m_Depth: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_HDR: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: .0219999999
|
||||
--- !u!1002 &2000001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!23 &2300000
|
||||
Renderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_LightmapIndex: 255
|
||||
m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0}
|
||||
m_Materials:
|
||||
- {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_SubsetIndices:
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_UseLightProbes: 0
|
||||
m_LightProbeAnchor: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
--- !u!1002 &2300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!33 &3300000
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_Mesh: {fileID: 10205, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1002 &3300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!81 &8100000
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &8100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!92 &9200000
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &9200001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 68ec2fe99d1108b9d0006a298d76c639, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
axes: 1
|
||||
sensitivityX: 15
|
||||
sensitivityY: 0
|
||||
minimumX: -360
|
||||
maximumX: 360
|
||||
minimumY: 0
|
||||
maximumY: 0
|
||||
--- !u!1002 &11400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400002
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0ab79d7f243824f5d9826bd83522c8df, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
canControl: 1
|
||||
useFixedUpdate: 1
|
||||
movement:
|
||||
maxForwardSpeed: 6
|
||||
maxSidewaysSpeed: 6
|
||||
maxBackwardsSpeed: 6
|
||||
slopeSpeedMultiplier:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- time: -90
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- time: 90
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
maxGroundAcceleration: 20
|
||||
maxAirAcceleration: 15
|
||||
gravity: 20
|
||||
maxFallSpeed: 20
|
||||
jumping:
|
||||
enabled: 1
|
||||
baseHeight: 1
|
||||
extraHeight: 1
|
||||
perpAmount: 0
|
||||
steepPerpAmount: .5
|
||||
movingPlatform:
|
||||
enabled: 1
|
||||
movementTransfer: 2
|
||||
sliding:
|
||||
enabled: 1
|
||||
slidingSpeed: 10
|
||||
sidewaysControl: 1
|
||||
speedControl: .400000006
|
||||
--- !u!1002 &11400003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400004
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 60bca8f58a0b8478e946e6e86658cb29, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1002 &11400005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400006
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 68ec2fe99d1108b9d0006a298d76c639, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
axes: 2
|
||||
sensitivityX: 10
|
||||
sensitivityY: 10
|
||||
minimumX: 0
|
||||
maximumX: 360
|
||||
minimumY: -60
|
||||
maximumY: 60
|
||||
--- !u!1002 &11400007
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!124 &12400000
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &12400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!143 &14300000
|
||||
CharacterController:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
serializedVersion: 2
|
||||
m_Height: 2
|
||||
m_Radius: .400000006
|
||||
m_SlopeLimit: 45
|
||||
m_StepOffset: .400000006
|
||||
m_SkinWidth: .0500000007
|
||||
m_MinMoveDistance: 0
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!1002 &14300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 100002}
|
||||
m_IsPrefabParent: 1
|
||||
m_IsExploded: 1
|
||||
--- !u!1002 &100100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d4133d5d30b644bd87802a347eaccbe
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e0b0a994d8934541a387e092630b5db
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c81df2918c80c054ca3d436e62090893
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
@@ -0,0 +1,289 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 449b48f7eb5d87a4baaa5fb73f875a59
|
||||
ModelImporter:
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: Bip001 R Finger1
|
||||
100002: Bip001 R Finger21
|
||||
100004: Bip001 R Finger11
|
||||
100006: Bip001 R Finger02
|
||||
100010: Bip001 R Finger12
|
||||
100012: Bip001 R Finger41
|
||||
100014: Bip001 R Finger4
|
||||
100018: Bip001 R Finger32
|
||||
100020: Bip001 R Finger31
|
||||
100022: Bip001 R Finger3
|
||||
100026: hip_adjustment_bone_right
|
||||
100028: Bip001 R Finger42
|
||||
100032: hip_adjustment_bone_left
|
||||
100034: Bip001 R Finger2
|
||||
100036: Bip001 R Finger22
|
||||
100040: Bip001 R UpperArm
|
||||
100042: Bip001 R Forearm
|
||||
100044: Bip001 R Finger0
|
||||
100046: Bip001 R Finger01
|
||||
100052: //RootNode
|
||||
100054: Bip001 R Clavicle
|
||||
100058: Bip001 L Finger3
|
||||
100060: Bip001 L Finger31
|
||||
100062: Bip001 L Finger32
|
||||
100066: Bip001 L Finger4
|
||||
100068: Bip001 L Finger41
|
||||
100070: Bip001 L Finger42
|
||||
100074: Bip001 L Finger22
|
||||
100076: Bip001 L Finger02
|
||||
100080: Bip001 L Finger1
|
||||
100082: Bip001 L Finger11
|
||||
100084: Bip001 L Finger12
|
||||
100088: Bip001 L Finger2
|
||||
100090: Bip001 L Finger21
|
||||
100092: Bip001 L Finger0
|
||||
100094: Bip001 L Finger01
|
||||
100096: Bip001 L Forearm
|
||||
100098: Bip001 L UpperArm
|
||||
100100: Bip001 L Clavicle
|
||||
100102: construction_worker
|
||||
100104: Bip001 R Toe0
|
||||
100106: Bip001 R Foot
|
||||
100108: Bip001 R Calf
|
||||
100110: Bip001 R Thigh
|
||||
100112: Bip001 L Toe0
|
||||
100114: Bip001 L Foot
|
||||
100116: Bip001 L Calf
|
||||
100118: Bip001 L Thigh
|
||||
100120: helmet_bone
|
||||
100124: Bip001 Head
|
||||
100126: wrench
|
||||
100128: Bip001 R Hand
|
||||
100130: Bip001 L Hand
|
||||
100132: Bip001 Neck
|
||||
100134: Bip001 Spine1
|
||||
100136: Bip001 Spine
|
||||
100138: Bip001 Pelvis
|
||||
100140: Bip001
|
||||
400000: Bip001 R Finger1
|
||||
400002: Bip001 R Finger21
|
||||
400004: Bip001 R Finger11
|
||||
400006: Bip001 R Finger02
|
||||
400010: Bip001 R Finger12
|
||||
400012: Bip001 R Finger41
|
||||
400014: Bip001 R Finger4
|
||||
400018: Bip001 R Finger32
|
||||
400020: Bip001 R Finger31
|
||||
400022: Bip001 R Finger3
|
||||
400026: hip_adjustment_bone_right
|
||||
400028: Bip001 R Finger42
|
||||
400032: hip_adjustment_bone_left
|
||||
400034: Bip001 R Finger2
|
||||
400036: Bip001 R Finger22
|
||||
400040: Bip001 R UpperArm
|
||||
400042: Bip001 R Forearm
|
||||
400044: Bip001 R Finger0
|
||||
400046: Bip001 R Finger01
|
||||
400052: //RootNode
|
||||
400054: Bip001 R Clavicle
|
||||
400058: Bip001 L Finger3
|
||||
400060: Bip001 L Finger31
|
||||
400062: Bip001 L Finger32
|
||||
400066: Bip001 L Finger4
|
||||
400068: Bip001 L Finger41
|
||||
400070: Bip001 L Finger42
|
||||
400074: Bip001 L Finger22
|
||||
400076: Bip001 L Finger02
|
||||
400080: Bip001 L Finger1
|
||||
400082: Bip001 L Finger11
|
||||
400084: Bip001 L Finger12
|
||||
400088: Bip001 L Finger2
|
||||
400090: Bip001 L Finger21
|
||||
400092: Bip001 L Finger0
|
||||
400094: Bip001 L Finger01
|
||||
400096: Bip001 L Forearm
|
||||
400098: Bip001 L UpperArm
|
||||
400100: Bip001 L Clavicle
|
||||
400102: construction_worker
|
||||
400104: Bip001 R Toe0
|
||||
400106: Bip001 R Foot
|
||||
400108: Bip001 R Calf
|
||||
400110: Bip001 R Thigh
|
||||
400112: Bip001 L Toe0
|
||||
400114: Bip001 L Foot
|
||||
400116: Bip001 L Calf
|
||||
400118: Bip001 L Thigh
|
||||
400120: helmet_bone
|
||||
400124: Bip001 Head
|
||||
400126: wrench
|
||||
400128: Bip001 R Hand
|
||||
400130: Bip001 L Hand
|
||||
400132: Bip001 Neck
|
||||
400134: Bip001 Spine1
|
||||
400136: Bip001 Spine
|
||||
400138: Bip001 Pelvis
|
||||
400140: Bip001
|
||||
2300000: wrench
|
||||
3300000: wrench
|
||||
4300000: construction_worker
|
||||
4300002: wrench
|
||||
7400012: idle
|
||||
7400014: run
|
||||
7400016: walk
|
||||
7400018: jump_pose
|
||||
11100000: //RootNode
|
||||
13700000: Bip001 Pelvis
|
||||
materials:
|
||||
importMaterials: 1
|
||||
materialName: 3
|
||||
materialSearch: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 3
|
||||
bakeSimulation: 0
|
||||
optimizeGameObjects: 0
|
||||
motionNodeName:
|
||||
animationCompression: 0
|
||||
animationRotationError: .5
|
||||
animationPositionError: .5
|
||||
animationScaleError: .5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: idle
|
||||
takeName:
|
||||
firstFrame: 2
|
||||
lastFrame: 62
|
||||
wrapMode: 2
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
- serializedVersion: 16
|
||||
name: run
|
||||
takeName:
|
||||
firstFrame: 65
|
||||
lastFrame: 81
|
||||
wrapMode: 2
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
- serializedVersion: 16
|
||||
name: walk
|
||||
takeName:
|
||||
firstFrame: 84
|
||||
lastFrame: 116
|
||||
wrapMode: 2
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
- serializedVersion: 16
|
||||
name: jump_pose
|
||||
takeName:
|
||||
firstFrame: 118
|
||||
lastFrame: 123
|
||||
wrapMode: 0
|
||||
orientationOffsetY: 0
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
loopBlendPositionY: 0
|
||||
loopBlendPositionXZ: 0
|
||||
keepOriginalOrientation: 0
|
||||
keepOriginalPositionY: 1
|
||||
keepOriginalPositionXZ: 0
|
||||
heightFromFeet: 0
|
||||
mirror: 0
|
||||
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
|
||||
curves: []
|
||||
events: []
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: .00999999978
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
splitTangentsAcrossUV: 1
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 1
|
||||
importAnimation: 1
|
||||
copyAvatar: 0
|
||||
humanDescription:
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: .5
|
||||
foreArmTwist: .5
|
||||
upperLegTwist: .5
|
||||
legTwist: .5
|
||||
armStretch: .0500000007
|
||||
legStretch: .0500000007
|
||||
feetSpacing: 0
|
||||
rootMotionBoneName:
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
animationType: 1
|
||||
additionalBone: 0
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e53c8c3dcc4ff59438bc9e86cb45c3f6
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,46 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: constructor_done
|
||||
m_Shader: {fileID: 4, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: []
|
||||
m_CustomRenderQueue: -1
|
||||
m_SavedProperties:
|
||||
serializedVersion: 2
|
||||
m_TexEnvs:
|
||||
data:
|
||||
first:
|
||||
name: _MainTex
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: 97b050d43ac7c4d2b9f6cbb587650761, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
data:
|
||||
first:
|
||||
name: _BumpMap
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: 531c14f8d5cdc4e5baa83ee6e16f783a, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
data:
|
||||
first:
|
||||
name: _Shininess
|
||||
second: .078125
|
||||
m_Colors:
|
||||
data:
|
||||
first:
|
||||
name: _Color
|
||||
second: {r: 1, g: 1, b: 1, a: 1}
|
||||
data:
|
||||
first:
|
||||
name: _SpecColor
|
||||
second: {r: .5, g: .5, b: .5, a: 1}
|
||||
--- !u!1002 &2100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
@@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ca49380a71a2bb64c830d06bd421b9d1
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b365e6042890d4b1987423ed6bb8a08c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 678 KiB |
@@ -0,0 +1,47 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97b050d43ac7c4d2b9f6cbb587650761
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 0
|
||||
textureType: -1
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
@@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f781c091d1c8647c380d5230adfaee54
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
@@ -0,0 +1,63 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
/// MouseLook rotates the transform based on the mouse delta.
|
||||
/// Minimum and Maximum values can be used to constrain the possible rotation
|
||||
|
||||
/// To make an FPS style character:
|
||||
/// - Create a capsule.
|
||||
/// - Add the MouseLook script to the capsule.
|
||||
/// -> Set the mouse look to use LookX. (You want to only turn character but not tilt it)
|
||||
/// - Add FPSInputController script to the capsule
|
||||
/// -> A CharacterMotor and a CharacterController component will be automatically added.
|
||||
|
||||
/// - Create a camera. Make the camera a child of the capsule. Reset it's transform.
|
||||
/// - Add a MouseLook script to the camera.
|
||||
/// -> Set the mouse look to use LookY. (You want the camera to tilt up and down like a head. The character already turns.)
|
||||
[AddComponentMenu("Camera-Control/Mouse Look")]
|
||||
public class MouseLook : MonoBehaviour {
|
||||
|
||||
public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 }
|
||||
public RotationAxes axes = RotationAxes.MouseXAndY;
|
||||
public float sensitivityX = 15F;
|
||||
public float sensitivityY = 15F;
|
||||
|
||||
public float minimumX = -360F;
|
||||
public float maximumX = 360F;
|
||||
|
||||
public float minimumY = -60F;
|
||||
public float maximumY = 60F;
|
||||
|
||||
float rotationY = 0F;
|
||||
|
||||
void Update ()
|
||||
{
|
||||
if (axes == RotationAxes.MouseXAndY)
|
||||
{
|
||||
float rotationX = transform.localEulerAngles.y + Input.GetAxis("Mouse X") * sensitivityX;
|
||||
|
||||
rotationY += Input.GetAxis("Mouse Y") * sensitivityY;
|
||||
rotationY = Mathf.Clamp (rotationY, minimumY, maximumY);
|
||||
|
||||
transform.localEulerAngles = new Vector3(-rotationY, rotationX, 0);
|
||||
}
|
||||
else if (axes == RotationAxes.MouseX)
|
||||
{
|
||||
transform.Rotate(0, Input.GetAxis("Mouse X") * sensitivityX, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
rotationY += Input.GetAxis("Mouse Y") * sensitivityY;
|
||||
rotationY = Mathf.Clamp (rotationY, minimumY, maximumY);
|
||||
|
||||
transform.localEulerAngles = new Vector3(-rotationY, transform.localEulerAngles.y, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void Start ()
|
||||
{
|
||||
// Make the rigid body not change rotation
|
||||
if (GetComponent<Rigidbody>())
|
||||
GetComponent<Rigidbody>().freezeRotation = true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68ec2fe99d1108b9d0006a298d76c639
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
Reference in New Issue
Block a user