diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-31 11:10:04 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-31 11:10:04 +0800 |
| commit | 343a1aa731a85a8a866d0466d29931e5a9c8dfb0 (patch) | |
| tree | db25f16a9a4ddb0cf7c973d748023b9f680b8501 /Assets/Prefabs/Player.prefab | |
| parent | f53954271f078db7b593057538846c344b341e33 (diff) | |
完成了罗师傅的移动系统
Diffstat (limited to 'Assets/Prefabs/Player.prefab')
| -rw-r--r-- | Assets/Prefabs/Player.prefab | 58 |
1 files changed, 56 insertions, 2 deletions
diff --git a/Assets/Prefabs/Player.prefab b/Assets/Prefabs/Player.prefab index e70f94a..2e8ced1 100644 --- a/Assets/Prefabs/Player.prefab +++ b/Assets/Prefabs/Player.prefab @@ -141,6 +141,7 @@ Transform: m_Children: - {fileID: 3858086185141390273} - {fileID: 8065121896564615395} + - {fileID: 4408286991926610371} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!54 &6800731054372189146 @@ -368,6 +369,7 @@ GameObject: m_Component: - component: {fileID: 3858086185141390273} - component: {fileID: 8017654697833592608} + - component: {fileID: 1683818354991653245} m_Layer: 0 m_Name: PlayerRotation m_TagString: Untagged @@ -383,7 +385,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4361574340126228034} serializedVersion: 2 - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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 @@ -403,7 +405,59 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7ef2d969201f5284b968982b605fb3ff, type: 3} m_Name: m_EditorClassIdentifier: Assembly-CSharp::PlayerRotationController - playerControl: {fileID: 5427005771150001327} + lookAt: {fileID: 4408286991926610371} + control: {fileID: 3267697200445213522} +--- !u!1183024399 &1683818354991653245 +LookAtConstraint: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4361574340126228034} + m_Enabled: 1 + serializedVersion: 2 + m_Weight: 1 + m_RotationAtRest: {x: 0, y: 0, z: 0} + m_RotationOffset: {x: 0, y: 0, z: 0} + m_Roll: 0 + m_WorldUpObject: {fileID: 0} + m_UseUpObject: 0 + m_Active: 1 + m_IsLocked: 1 + m_Sources: + - sourceTransform: {fileID: 4408286991926610371} + weight: 1 +--- !u!1 &4683232950500733684 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4408286991926610371} + m_Layer: 0 + m_Name: LookAt + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &4408286991926610371 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4683232950500733684} + 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: 2684917141693768409} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &7321994139321691109 GameObject: m_ObjectHideFlags: 0 |
