Skip to content

Commit

Permalink
Camera Dead Zone
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsZauberer committed Feb 12, 2021
1 parent 39cee11 commit cf40161
Showing 1 changed file with 80 additions and 2 deletions.
82 changes: 80 additions & 2 deletions Assets/Scenes/SampleScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 519420028}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -5.14, y: 0.21000022, z: -20}
m_LocalPosition: {x: 2.4820304, y: 0.7530462, z: -20}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1066209042}
Expand Down Expand Up @@ -4704,6 +4704,66 @@ Animator:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!1 &1586489444
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1586489448}
- component: {fileID: 1586489445}
m_Layer: 0
m_Name: Cam Boundary
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!60 &1586489445
PolygonCollider2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1586489444}
m_Enabled: 1
m_Density: 1
m_Material: {fileID: 0}
m_IsTrigger: 1
m_UsedByEffector: 0
m_UsedByComposite: 0
m_Offset: {x: 0, y: 0}
m_SpriteTilingProperty:
border: {x: 0, y: 0, z: 0, w: 0}
pivot: {x: 0, y: 0}
oldSize: {x: 0, y: 0}
newSize: {x: 0, y: 0}
adaptiveTilingThreshold: 0
drawMode: 0
adaptiveTiling: 0
m_AutoTiling: 0
m_Points:
m_Paths:
- - {x: -13.338106, y: 6.450957}
- {x: -13.312809, y: -5.2980905}
- {x: 13.8114605, y: -5.3319635}
- {x: 13.963684, y: 6.450956}
--- !u!4 &1586489448
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1586489444}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 4.9662147, y: 1.0511363, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1745399710
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -5265,6 +5325,7 @@ GameObject:
m_Component:
- component: {fileID: 2012662848}
- component: {fileID: 2012662849}
- component: {fileID: 2012662850}
m_Layer: 0
m_Name: CM vcam1
m_TagString: Untagged
Expand All @@ -5280,7 +5341,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2012662847}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: -7.6220303, y: -0.543046, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 149813157}
Expand Down Expand Up @@ -5322,6 +5383,23 @@ MonoBehaviour:
m_Calls: []
m_LegacyBlendHint: 0
m_ComponentOwner: {fileID: 149813157}
--- !u!114 &2012662850
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2012662847}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a2fba25a5cd15594e8f050a11e386c80, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ConfineMode: 0
m_BoundingVolume: {fileID: 0}
m_BoundingShape2D: {fileID: 1586489445}
m_ConfineScreenEdges: 1
m_Damping: 0
--- !u!1001 &7188535335816162300
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down

0 comments on commit cf40161

Please sign in to comment.