Files
XMen/Assets/Plugins/DragonLi/Examples/Behaviour/Player.prefab
2025-07-02 17:56:55 +08:00

255 lines
6.4 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !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: 1887046679212510}
m_IsPrefabParent: 1
--- !u!1 &1887046679212510
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 4977155663305006}
- component: {fileID: 33601003055950894}
- component: {fileID: 65993225220794884}
- component: {fileID: 23563847566967600}
- component: {fileID: 54560380624435756}
- component: {fileID: 114129876201302526}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4977155663305006
Transform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.4, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &23563847566967600
MeshRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 1
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &33601003055950894
MeshFilter:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!54 &54560380624435756
Rigidbody:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 112
m_CollisionDetection: 0
--- !u!65 &65993225220794884
BoxCollider:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &114129876201302526
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1887046679212510}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -240510054, guid: a5c9c736ad477db47a3edc3aab8ecb49, type: 3}
m_Name:
m_EditorClassIdentifier:
Data:
keyCollections:
- rotate_lerprate
- forawrd_key
- back_key
- left_key
- right_key
- damping
- relative_motion
- entity_type
- speed
- acc
- health
- partdamage
valueCollections:
- Name: rotate_lerprate
DataType: 2
StringValue:
IntValue: 0
FloatValue: 30
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: forawrd_key
DataType: 0
StringValue: W
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: back_key
DataType: 0
StringValue: S
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: left_key
DataType: 0
StringValue: A
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: right_key
DataType: 0
StringValue: D
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: damping
DataType: 2
StringValue:
IntValue: 0
FloatValue: 5
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: relative_motion
DataType: 3
StringValue:
IntValue: 0
FloatValue: 0
BooleanValue: 1
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: entity_type
DataType: 0
StringValue:
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: speed
DataType: 2
StringValue:
IntValue: 0
FloatValue: 10
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: acc
DataType: 2
StringValue:
IntValue: 0
FloatValue: 30
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: health
DataType: 2
StringValue:
IntValue: 0
FloatValue: 100
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
- Name: partdamage
DataType: 3
StringValue:
IntValue: 0
FloatValue: 0
BooleanValue: 0
Vector2Value: {x: 0, y: 0}
Vector3Value: {x: 0, y: 0, z: 0}
ObjectValue: {fileID: 0}
updateSelf: 1
DirectionInput: {x: 0, y: 0, z: 0}
ForwardKeyCode: 119
BackKeyCode: 115
LeftKeyCode: 97
RightKeyCode: 100