Commit 95c36945 authored by mmaluschnig's avatar mmaluschnig
Browse files

added sorting layers for background, foreground and UI

parent efae650a
......@@ -193,6 +193,75 @@ SpriteRenderer:
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &237130074
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 237130075}
- component: {fileID: 237130077}
- component: {fileID: 237130076}
m_Layer: 0
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &237130075
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 237130074}
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_Children: []
m_Father: {fileID: 1949598428}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &237130076
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 237130074}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.6037736, g: 0.6037736, b: 0.6037736, a: 0.392}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &237130077
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 237130074}
m_CullTransparentMesh: 0
--- !u!1001 &251658272
Prefab:
m_ObjectHideFlags: 0
......@@ -237,6 +306,26 @@ Prefab:
propertyPath: playerbutton1
value:
objectReference: {fileID: 555179065}
- target: {fileID: 212820642852773866, guid: 9e7fbf1a7c7a84dbc9e793c25c9e722a,
type: 2}
propertyPath: m_SortingLayerID
value: -1966733235
objectReference: {fileID: 0}
- target: {fileID: 212820642852773866, guid: 9e7fbf1a7c7a84dbc9e793c25c9e722a,
type: 2}
propertyPath: m_SortingLayer
value: 2
objectReference: {fileID: 0}
- target: {fileID: 212820642852773866, guid: 9e7fbf1a7c7a84dbc9e793c25c9e722a,
type: 2}
propertyPath: m_SortingOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 223108999240104072, guid: 9e7fbf1a7c7a84dbc9e793c25c9e722a,
type: 2}
propertyPath: m_SortingLayerID
value: -1020251125
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9e7fbf1a7c7a84dbc9e793c25c9e722a, type: 2}
m_IsPrefabAsset: 0
......@@ -339,7 +428,31 @@ Prefab:
objectReference: {fileID: 0}
- target: {fileID: 4326011112805000, guid: 1601fd9c4dae6aa49a28743fde0bd9a3, type: 2}
propertyPath: m_RootOrder
value: 5
value: 3
objectReference: {fileID: 0}
- target: {fileID: 212712217922994598, guid: 1601fd9c4dae6aa49a28743fde0bd9a3,
type: 2}
propertyPath: m_SortingLayerID
value: -1966733235
objectReference: {fileID: 0}
- target: {fileID: 212712217922994598, guid: 1601fd9c4dae6aa49a28743fde0bd9a3,
type: 2}
propertyPath: m_SortingLayer
value: 2
objectReference: {fileID: 0}
- target: {fileID: 212712217922994598, guid: 1601fd9c4dae6aa49a28743fde0bd9a3,
type: 2}
propertyPath: m_SortingOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4845015650358456, guid: 1601fd9c4dae6aa49a28743fde0bd9a3, type: 2}
propertyPath: m_LocalPosition.x
value: -29
objectReference: {fileID: 0}
- target: {fileID: 223935213268643878, guid: 1601fd9c4dae6aa49a28743fde0bd9a3,
type: 2}
propertyPath: m_SortingLayerID
value: -1020251125
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 1601fd9c4dae6aa49a28743fde0bd9a3, type: 2}
......@@ -591,9 +704,9 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 38e371dbb297541a6a06aa1ff021eec0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
......@@ -632,7 +745,7 @@ Transform:
m_Children:
- {fileID: 1949598428}
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1193059960
GameObject:
......@@ -695,9 +808,9 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 38e371dbb297541a6a06aa1ff021eec0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
......@@ -757,9 +870,9 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 38e371dbb297541a6a06aa1ff021eec0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
......@@ -828,6 +941,26 @@ Prefab:
propertyPath: playerbutton1
value:
objectReference: {fileID: 555179065}
- target: {fileID: 212051256838438442, guid: 2c7917ac87eca42679b31ab33e2eec29,
type: 2}
propertyPath: m_SortingLayerID
value: -1966733235
objectReference: {fileID: 0}
- target: {fileID: 212051256838438442, guid: 2c7917ac87eca42679b31ab33e2eec29,
type: 2}
propertyPath: m_SortingLayer
value: 2
objectReference: {fileID: 0}
- target: {fileID: 212051256838438442, guid: 2c7917ac87eca42679b31ab33e2eec29,
type: 2}
propertyPath: m_SortingOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 223320793530302588, guid: 2c7917ac87eca42679b31ab33e2eec29,
type: 2}
propertyPath: m_SortingLayerID
value: -1020251125
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 2c7917ac87eca42679b31ab33e2eec29, type: 2}
m_IsPrefabAsset: 0
......@@ -875,6 +1008,26 @@ Prefab:
propertyPath: playerbutton1
value:
objectReference: {fileID: 555179065}
- target: {fileID: 212524841288239162, guid: 36e15d0d933814ddd8f60f70726d5cdd,
type: 2}
propertyPath: m_SortingLayerID
value: -1966733235
objectReference: {fileID: 0}
- target: {fileID: 212524841288239162, guid: 36e15d0d933814ddd8f60f70726d5cdd,
type: 2}
propertyPath: m_SortingLayer
value: 2
objectReference: {fileID: 0}
- target: {fileID: 212524841288239162, guid: 36e15d0d933814ddd8f60f70726d5cdd,
type: 2}
propertyPath: m_SortingOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 223765175523786196, guid: 36e15d0d933814ddd8f60f70726d5cdd,
type: 2}
propertyPath: m_SortingLayerID
value: -1020251125
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 36e15d0d933814ddd8f60f70726d5cdd, type: 2}
m_IsPrefabAsset: 0
......@@ -931,8 +1084,8 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 9d742acbca8504c138403f6cb6cc177a, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
......@@ -1020,9 +1173,9 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 38e371dbb297541a6a06aa1ff021eec0, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
......@@ -1176,8 +1329,8 @@ SpriteRenderer:
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingLayerID: -1106870113
m_SortingLayer: 1
m_SortingOrder: 0
m_Sprite: {fileID: 21300000, guid: 9d742acbca8504c138403f6cb6cc177a, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
......@@ -1219,7 +1372,7 @@ Transform:
- {fileID: 1424317323}
- {fileID: 110357699}
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1949598427
GameObject:
......@@ -1248,7 +1401,8 @@ RectTransform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children: []
m_Children:
- {fileID: 237130075}
m_Father: {fileID: 867173047}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
......@@ -1302,8 +1456,8 @@ Canvas:
m_GameObject: {fileID: 1949598427}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_RenderMode: 1
m_Camera: {fileID: 519420031}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
......@@ -1311,6 +1465,6 @@ Canvas:
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_SortingLayerID: -1020251125
m_SortingOrder: 2
m_TargetDisplay: 0
......@@ -44,3 +44,12 @@ TagManager:
- name: Default
uniqueID: 0
locked: 0
- name: Background
uniqueID: 3188097183
locked: 0
- name: ForeGround
uniqueID: 2328234061
locked: 0
- name: UI
uniqueID: 3274716171
locked: 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment