added CameraMovement

This commit is contained in:
j.mei7
2022-03-05 13:01:45 +01:00
parent 0207486c95
commit 0a763cbc88
12 changed files with 286 additions and 14 deletions

View File

@@ -6154,6 +6154,8 @@ GameObject:
- component: {fileID: 519420032}
- component: {fileID: 519420031}
- component: {fileID: 519420029}
- component: {fileID: 519420033}
- component: {fileID: 519420034}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
@@ -6196,7 +6198,7 @@ Camera:
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 12
orthographic size: 50
m_Depth: -1
m_CullingMask:
serializedVersion: 2
@@ -6220,13 +6222,53 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -10}
m_LocalPosition: {x: 0, y: 0, z: -15}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &519420033
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 328f45ec5c7fdbe4ebfa4e5069f0644d, type: 3}
m_Name:
m_EditorClassIdentifier:
speed: 150
fastSpeed: 300
slowSpeed: 50
cameraSize: 15
maxCameraSize: 100
minCameraSize: 3
cameraSizeSteps: 3
--- !u!50 &519420034
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0
m_GravityScale: 0
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!114 &596336087 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8483988689672967183, guid: 23ae9a68a9ff79940adf19a8638591c2, type: 3}
@@ -7588,6 +7630,7 @@ GameObject:
m_Component:
- component: {fileID: 1360475758}
- component: {fileID: 1360475757}
- component: {fileID: 1360475759}
m_Layer: 0
m_Name: GameManager
m_TagString: Untagged
@@ -7625,6 +7668,19 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1360475759
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1360475756}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d01b08fa5ea32674c8ce7599f2d886ce, type: 3}
m_Name:
m_EditorClassIdentifier:
money: 0
--- !u!1001 &1365118269
PrefabInstance:
m_ObjectHideFlags: 0