aboutsummaryrefslogtreecommitdiff
path: root/Assets/Prefabs
diff options
context:
space:
mode:
authorWeicao-CatilGrass <1992414357@qq.com>2026-05-22 13:23:04 +0800
committerWeicao-CatilGrass <1992414357@qq.com>2026-05-22 13:24:30 +0800
commit905b0c36301e96feabac6cd3e2a51252b075ef66 (patch)
treeb7c4a738cc5f85a75ed6a1cb70574a6d734d46d3 /Assets/Prefabs
parent6903a64ed15bf6046bddd98a4bc095b1ea5844ee (diff)
改了个RootMotion的代码,并且我要谴责罗师傅的单例时机不对
Diffstat (limited to 'Assets/Prefabs')
-rw-r--r--Assets/Prefabs/Player.prefab97
1 files changed, 95 insertions, 2 deletions
diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab
index a457997..9910188 100644
--- a/Assets/Prefabs/Player.prefab
+++ b/Assets/Prefabs/Player.prefab
@@ -102,7 +102,7 @@ MonoBehaviour:
rootMotion: {x: 0, y: 0, z: 0}
myTransform: {fileID: 0}
animatorHandler: {fileID: 0}
- rigidbody: {fileID: 0}
+ rigidbody: {fileID: 7556791337662249603}
normalCamera: {fileID: 0}
movementSpeed: 5
rotationSpeed: 10
@@ -123,6 +123,37 @@ MonoBehaviour:
moveAmount: 0
mouseX: 0
mouseY: 0
+--- !u!1 &8264441896603829090
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 415372267711881413}
+ m_Layer: 0
+ m_Name: Rot
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &415372267711881413
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 8264441896603829090}
+ serializedVersion: 2
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_ConstrainProportionsScale: 0
+ m_Children: []
+ m_Father: {fileID: 3042115499862081059}
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &3042188380331580539
PrefabInstance:
m_ObjectHideFlags: 0
@@ -135,6 +166,26 @@ PrefabInstance:
propertyPath: m_Name
value: Chr_FantasyHero_Preset_40
objectReference: {fileID: 0}
+ - target: {fileID: 4357803323342668, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
+ propertyPath: m_LocalPosition.x
+ value: 0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4357803323342668, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
+ propertyPath: m_LocalRotation.w
+ value: 1
+ objectReference: {fileID: 0}
+ - target: {fileID: 4357803323342668, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
+ propertyPath: m_LocalRotation.x
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4357803323342668, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
+ propertyPath: m_LocalRotation.y
+ value: -0
+ objectReference: {fileID: 0}
+ - target: {fileID: 4357803323342668, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
+ propertyPath: m_LocalRotation.z
+ value: -0
+ objectReference: {fileID: 0}
- target: {fileID: 4439670440141400, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
propertyPath: m_LocalPosition.x
value: 0
@@ -187,12 +238,20 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
- m_AddedGameObjects: []
+ m_AddedGameObjects:
+ - targetCorrespondingSourceObject: {fileID: 4439670440141400, guid: bbf9d2d73db526c4aa3f66acf676c574,
+ type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 415372267711881413}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1229922237220284, guid: bbf9d2d73db526c4aa3f66acf676c574,
type: 3}
insertIndex: -1
addedObject: {fileID: 7066665064788977759}
+ - targetCorrespondingSourceObject: {fileID: 1559246570421444, guid: bbf9d2d73db526c4aa3f66acf676c574,
+ type: 3}
+ insertIndex: -1
+ addedObject: {fileID: 7594309040562575152}
m_SourcePrefab: {fileID: 100100000, guid: bbf9d2d73db526c4aa3f66acf676c574, type: 3}
--- !u!4 &3042115499862081059 stripped
Transform:
@@ -218,9 +277,43 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe522b80fe58504408be0232c59db82f, type: 3}
m_Name:
m_EditorClassIdentifier:
+ rootMotionRotation: {fileID: 415372267711881413}
playerLocomotion: {fileID: 155043711266299318}
animator: {fileID: 3128674470046166765}
canRotate: 1
+--- !u!1 &3043742952855593151 stripped
+GameObject:
+ m_CorrespondingSourceObject: {fileID: 1559246570421444, guid: bbf9d2d73db526c4aa3f66acf676c574,
+ type: 3}
+ m_PrefabInstance: {fileID: 3042188380331580539}
+ m_PrefabAsset: {fileID: 0}
+--- !u!1773428102 &7594309040562575152
+ParentConstraint:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 3043742952855593151}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Weight: 1
+ m_TranslationAtRest: {x: 0, y: 0, z: 0}
+ m_RotationAtRest: {x: 0, y: 0, z: 0}
+ m_TranslationOffsets:
+ - {x: 0, y: 0, z: 0}
+ m_RotationOffsets:
+ - {x: 0, y: 0, z: 0}
+ m_AffectTranslationX: 1
+ m_AffectTranslationY: 1
+ m_AffectTranslationZ: 1
+ m_AffectRotationX: 1
+ m_AffectRotationY: 1
+ m_AffectRotationZ: 1
+ m_Active: 1
+ m_IsLocked: 1
+ m_Sources:
+ - sourceTransform: {fileID: 415372267711881413}
+ weight: 1
--- !u!95 &3128674470046166765 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 95506792919036566, guid: bbf9d2d73db526c4aa3f66acf676c574,