Attach Camera to Player

This commit is contained in:
pelpanagiotis
2026-02-09 21:58:30 +02:00
parent 9bcb47d8f6
commit aa248cda7e
10 changed files with 222 additions and 108 deletions

View File

@@ -14,16 +14,16 @@ MonoBehaviour:
m_EditorClassIdentifier: UnityEditor.dll::UnityEditor.ContainerWindow
m_PixelRect:
serializedVersion: 2
x: 8
y: 51
width: 1904
height: 973
x: -2560
y: 43
width: 2560
height: 989
m_ShowMode: 4
m_Title: Hierarchy
m_Title: Inspector
m_RootView: {fileID: 7}
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
m_Maximized: 0
m_Maximized: 1
--- !u!114 &2
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -39,10 +39,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 871
x: 1170
y: 0
width: 718
height: 641
width: 951
height: 627
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 18}
@@ -69,12 +69,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 36
width: 1904
height: 917
width: 2560
height: 933
m_MinSize: {x: 400, y: 100}
m_MaxSize: {x: 32384, y: 16192}
vertical: 0
controlID: 40
controlID: 50
draggingID: 0
--- !u!114 &4
MonoBehaviour:
@@ -91,10 +91,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1589
x: 2121
y: 0
width: 315
height: 917
width: 439
height: 933
m_MinSize: {x: 276, y: 76}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 15}
@@ -119,8 +119,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 254
height: 641
width: 331
height: 627
m_MinSize: {x: 201, y: 226}
m_MaxSize: {x: 4001, y: 4026}
m_ActualView: {fileID: 16}
@@ -144,9 +144,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 641
width: 1589
height: 276
y: 627
width: 2121
height: 306
m_MinSize: {x: 231, y: 276}
m_MaxSize: {x: 10001, y: 10026}
m_ActualView: {fileID: 14}
@@ -175,8 +175,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1904
height: 973
width: 2560
height: 989
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
m_UseTopView: 1
@@ -200,7 +200,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1904
width: 2560
height: 36
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -221,8 +221,8 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 953
width: 1904
y: 969
width: 2560
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -245,12 +245,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1589
height: 917
width: 2121
height: 933
m_MinSize: {x: 300, y: 100}
m_MaxSize: {x: 24288, y: 16192}
vertical: 1
controlID: 41
controlID: 51
draggingID: 0
--- !u!114 &11
MonoBehaviour:
@@ -272,12 +272,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1589
height: 641
width: 2121
height: 627
m_MinSize: {x: 300, y: 50}
m_MaxSize: {x: 24288, y: 8096}
vertical: 0
controlID: 42
controlID: 52
draggingID: 0
--- !u!114 &12
MonoBehaviour:
@@ -294,10 +294,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 254
x: 331
y: 0
width: 617
height: 641
width: 839
height: 627
m_MinSize: {x: 202, y: 226}
m_MaxSize: {x: 4002, y: 4026}
m_ActualView: {fileID: 17}
@@ -416,10 +416,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Project\u200B"
m_Pos:
serializedVersion: 2
x: 0
y: 665
width: 1588
height: 250
x: -2560
y: 706
width: 2120
height: 280
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -459,9 +459,9 @@ MonoBehaviour:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 68dc0000
m_LastClickedID: 56424
m_ExpandedIDs: 0000000068dc00006adc0000
m_SelectedIDs: d0dc0000
m_LastClickedID: 56528
m_ExpandedIDs: 0000000068dc00006adc000000ca9a3b
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -518,7 +518,7 @@ MonoBehaviour:
m_ListAreaState:
m_SelectedInstanceIDs:
m_LastClickedInstanceID: 0
m_HadKeyboardFocusLastEvent: 0
m_HadKeyboardFocusLastEvent: 1
m_ExpandedInstanceIDs: c623000000000000
m_RenameOverlay:
m_UserAcceptedRename: 0
@@ -544,7 +544,7 @@ MonoBehaviour:
m_Icon: {fileID: 0}
m_ResourceFile:
m_NewAssetIndexInList: -1
m_ScrollPosition: {x: 0, y: 52}
m_ScrollPosition: {x: 0, y: 22}
m_GridSize: 88
m_SkipHiddenPackages: 0
m_DirectoriesAreaWidth: 241
@@ -569,10 +569,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Inspector\u200B"
m_Pos:
serializedVersion: 2
x: 1590
y: 24
width: 314
height: 891
x: -439
y: 79
width: 438
height: 907
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -618,10 +618,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Hierarchy\u200B"
m_Pos:
serializedVersion: 2
x: 0
y: 24
width: 253
height: 615
x: -2560
y: 79
width: 330
height: 601
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -638,7 +638,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: fcfaffff
m_ExpandedIDs: 824dfeffee62feff4e9efefffcfaffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -655,7 +655,7 @@ MonoBehaviour:
m_OriginalEventType: 11
m_IsRenamingFilename: 0
m_TrimLeadingAndTrailingWhitespace: 0
m_ClientGUIView: {fileID: 5}
m_ClientGUIView: {fileID: 0}
m_SearchString:
m_ExpandedScenes: []
m_CurrenRootInstanceID: 0
@@ -684,10 +684,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Scene\u200B"
m_Pos:
serializedVersion: 2
x: 255
y: 24
width: 615
height: 615
x: -2229
y: 79
width: 837
height: 601
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1256,9 +1256,9 @@ MonoBehaviour:
m_AudioPlay: 0
m_DebugDrawModesUseInteractiveLightBakingData: 0
m_Position:
m_Target: {x: 6.951852, y: 0.2686872, z: 13.243528}
m_Target: {x: 18.998749, y: -2.2667222, z: -13.916144}
speed: 2
m_Value: {x: 6.951852, y: 0.2686872, z: 13.243528}
m_Value: {x: 18.998749, y: -2.2667222, z: -13.916144}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -1304,9 +1304,9 @@ MonoBehaviour:
m_GridAxis: 1
m_gridOpacity: 0.5
m_Rotation:
m_Target: {x: 0.012097208, y: 0.1849107, z: -0.0022767063, w: 0.9826799}
m_Target: {x: 0.03521548, y: 0.91418284, z: -0.081402756, w: 0.39548633}
speed: 2
m_Value: {x: -0.012097208, y: -0.1849107, z: 0.0022767063, w: -0.9826799}
m_Value: {x: 0.03521537, y: 0.91418, z: -0.0814025, w: 0.3954851}
m_Size:
m_Target: 10
speed: 2
@@ -1365,10 +1365,10 @@ MonoBehaviour:
m_TextWithWhitespace: "Game\u200B"
m_Pos:
serializedVersion: 2
x: 872
y: 24
width: 716
height: 615
x: -1390
y: 79
width: 949
height: 601
m_SerializedDataModeController:
m_DataMode: 0
m_PreferredDataMode: 0
@@ -1386,7 +1386,7 @@ MonoBehaviour:
m_ShowGizmos: 0
m_TargetDisplay: 0
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
m_TargetSize: {x: 716, y: 594}
m_TargetSize: {x: 949, y: 580}
m_TextureFilterMode: 0
m_TextureHideFlags: 61
m_RenderIMGUI: 1
@@ -1401,10 +1401,10 @@ MonoBehaviour:
m_VRangeLocked: 0
hZoomLockedByDefault: 0
vZoomLockedByDefault: 0
m_HBaseRangeMin: -358
m_HBaseRangeMax: 358
m_VBaseRangeMin: -297
m_VBaseRangeMax: 297
m_HBaseRangeMin: -474.5
m_HBaseRangeMax: 474.5
m_VBaseRangeMin: -290
m_VBaseRangeMax: 290
m_HAllowExceedBaseRangeMin: 1
m_HAllowExceedBaseRangeMax: 1
m_VAllowExceedBaseRangeMin: 1
@@ -1422,23 +1422,23 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 21
width: 716
height: 594
width: 949
height: 580
m_Scale: {x: 1, y: 1}
m_Translation: {x: 358, y: 297}
m_Translation: {x: 474.5, y: 290}
m_MarginLeft: 0
m_MarginRight: 0
m_MarginTop: 0
m_MarginBottom: 0
m_LastShownAreaInsideMargins:
serializedVersion: 2
x: -358
y: -297
width: 716
height: 594
x: -474.5
y: -290
width: 949
height: 580
m_MinimalGUI: 1
m_defaultScale: 1
m_LastWindowPixelSize: {x: 716, y: 615}
m_LastWindowPixelSize: {x: 949, y: 601}
m_ClearInEditMode: 1
m_NoCameraWarning: 1
m_LowResolutionForAspectRatios: 01000000000000000000