Sorting Layers and pivot modifications
Added sorting layers to sprites and changed the pivots of most sprites
This commit is contained in:
@@ -30,7 +30,7 @@ MonoBehaviour:
|
|||||||
m_LayerMask:
|
m_LayerMask:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 4294967295
|
m_Bits: 4294967295
|
||||||
m_TransparencySortMode: 0
|
m_TransparencySortMode: 3
|
||||||
m_TransparencySortAxis: {x: 0, y: 1, z: 0}
|
m_TransparencySortAxis: {x: 0, y: 1, z: 0}
|
||||||
m_HDREmulationScale: 1
|
m_HDREmulationScale: 1
|
||||||
m_LightRenderTextureScale: 0.5
|
m_LightRenderTextureScale: 0.5
|
||||||
|
|||||||
@@ -159,8 +159,8 @@ TextureImporter:
|
|||||||
y: 4
|
y: 4
|
||||||
width: 221
|
width: 221
|
||||||
height: 103
|
height: 103
|
||||||
alignment: 0
|
alignment: 9
|
||||||
pivot: {x: 0, y: 0}
|
pivot: {x: 0.5, y: 0.2}
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
customData:
|
customData:
|
||||||
outline: []
|
outline: []
|
||||||
@@ -177,7 +177,7 @@ TextureImporter:
|
|||||||
customData:
|
customData:
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID:
|
spriteID: 8ad6e7e31e0cb8847ad6b1c9587a888d
|
||||||
internalID: 0
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
|
|||||||
@@ -133,8 +133,8 @@ TextureImporter:
|
|||||||
y: 136
|
y: 136
|
||||||
width: 3208
|
width: 3208
|
||||||
height: 2484
|
height: 2484
|
||||||
alignment: 0
|
alignment: 9
|
||||||
pivot: {x: 0, y: 0}
|
pivot: {x: 0.49802017, y: 0.15865843}
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
customData:
|
customData:
|
||||||
outline: []
|
outline: []
|
||||||
@@ -151,7 +151,7 @@ TextureImporter:
|
|||||||
customData:
|
customData:
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID:
|
spriteID: ee4de8c615c6ba8479a36f72e8604fc4
|
||||||
internalID: 0
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
|
|||||||
@@ -159,8 +159,8 @@ TextureImporter:
|
|||||||
y: 25
|
y: 25
|
||||||
width: 260
|
width: 260
|
||||||
height: 344
|
height: 344
|
||||||
alignment: 0
|
alignment: 9
|
||||||
pivot: {x: 0, y: 0}
|
pivot: {x: 0.49448577, y: 0.13463093}
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
customData:
|
customData:
|
||||||
outline: []
|
outline: []
|
||||||
@@ -177,7 +177,7 @@ TextureImporter:
|
|||||||
customData:
|
customData:
|
||||||
physicsShape: []
|
physicsShape: []
|
||||||
bones: []
|
bones: []
|
||||||
spriteID:
|
spriteID: da398285bd1f98343950b209ecc7026d
|
||||||
internalID: 0
|
internalID: 0
|
||||||
vertices: []
|
vertices: []
|
||||||
indices:
|
indices:
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 7379304988657006554}
|
m_GameObject: {fileID: 7379304988657006554}
|
||||||
serializedVersion: 2
|
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: -40.89, y: 99, z: 0}
|
m_LocalPosition: {x: 0, y: 99, z: 0}
|
||||||
m_LocalScale: {x: 1.3, y: 1.3, z: 1.3}
|
m_LocalScale: {x: 1.3, y: 1.3, z: 1.3}
|
||||||
m_ConstrainProportionsScale: 1
|
m_ConstrainProportionsScale: 1
|
||||||
m_Children: []
|
m_Children: []
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 3238893659345357084}
|
- component: {fileID: 3238893659345357084}
|
||||||
- component: {fileID: 8077955903391076318}
|
- component: {fileID: 5063145447084526950}
|
||||||
- component: {fileID: 6830045257216331861}
|
|
||||||
m_Layer: 6
|
m_Layer: 6
|
||||||
m_Name: HidingTree
|
m_Name: HidingTree
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -27,68 +26,14 @@ Transform:
|
|||||||
m_GameObject: {fileID: 4504727126878939269}
|
m_GameObject: {fileID: 4504727126878939269}
|
||||||
serializedVersion: 2
|
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: 3.4, y: 42.3, z: 0}
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children:
|
||||||
|
- {fileID: 5328317679980282276}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!212 &8077955903391076318
|
--- !u!60 &5063145447084526950
|
||||||
SpriteRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4504727126878939269}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 0
|
|
||||||
m_ReceiveShadows: 0
|
|
||||||
m_DynamicOccludee: 1
|
|
||||||
m_StaticShadowCaster: 0
|
|
||||||
m_MotionVectors: 1
|
|
||||||
m_LightProbeUsage: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_RayTracingMode: 0
|
|
||||||
m_RayTraceProcedural: 0
|
|
||||||
m_RayTracingAccelStructBuildFlagsOverride: 0
|
|
||||||
m_RayTracingAccelStructBuildFlags: 1
|
|
||||||
m_SmallMeshCulling: 1
|
|
||||||
m_RenderingLayerMask: 1
|
|
||||||
m_RendererPriority: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
|
||||||
m_StaticBatchInfo:
|
|
||||||
firstSubMesh: 0
|
|
||||||
subMeshCount: 0
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_LightProbeVolumeOverride: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_ReceiveGI: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_IgnoreNormalsForChartDetection: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_StitchLightmapSeams: 1
|
|
||||||
m_SelectedEditorRenderState: 0
|
|
||||||
m_MinimumChartSize: 4
|
|
||||||
m_AutoUVMaxDistance: 0.5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingLayer: 0
|
|
||||||
m_SortingOrder: 2
|
|
||||||
m_Sprite: {fileID: -3478180527601151190, guid: e8ceae3d59a3d36449e01f07d650e082, type: 3}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
m_FlipX: 0
|
|
||||||
m_FlipY: 0
|
|
||||||
m_DrawMode: 0
|
|
||||||
m_Size: {x: 32.08509, y: 24.839998}
|
|
||||||
m_AdaptiveModeThreshold: 0.5
|
|
||||||
m_SpriteTileMode: 0
|
|
||||||
m_WasSpriteAssigned: 1
|
|
||||||
m_MaskInteraction: 0
|
|
||||||
m_SpriteSortPoint: 0
|
|
||||||
--- !u!60 &6830045257216331861
|
|
||||||
PolygonCollider2D:
|
PolygonCollider2D:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -125,24 +70,104 @@ PolygonCollider2D:
|
|||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_SpriteTilingProperty:
|
m_SpriteTilingProperty:
|
||||||
border: {x: 0, y: 0, z: 0, w: 0}
|
border: {x: 0, y: 0, z: 0, w: 0}
|
||||||
pivot: {x: 0.5, y: 0.5}
|
pivot: {x: 0, y: 0}
|
||||||
oldSize: {x: 32.08509, y: 24.839998}
|
oldSize: {x: 0, y: 0}
|
||||||
newSize: {x: 32.08509, y: 24.839998}
|
newSize: {x: 0, y: 0}
|
||||||
adaptiveTilingThreshold: 0.5
|
adaptiveTilingThreshold: 0
|
||||||
drawMode: 0
|
drawMode: 0
|
||||||
adaptiveTiling: 0
|
adaptiveTiling: 0
|
||||||
m_AutoTiling: 0
|
m_AutoTiling: 0
|
||||||
m_Points:
|
m_Points:
|
||||||
m_Paths:
|
m_Paths:
|
||||||
- - {x: 4.733772, y: -10.784753}
|
- - {x: 2.9577127, y: 1.8696404}
|
||||||
- {x: -5.324348, y: -10.489826}
|
- {x: -3.4842365, y: 2.024921}
|
||||||
- {x: -3.425023, y: -5.7745037}
|
- {x: -5.281916, y: -2.2014542}
|
||||||
- {x: -3.4876845, y: -0.14247131}
|
- {x: 4.884236, y: -2.5470598}
|
||||||
- {x: -4.26274, y: 3.021328}
|
|
||||||
- {x: -3.3621013, y: 5.170784}
|
|
||||||
- {x: 0.92207146, y: 5.260418}
|
|
||||||
- {x: 4.2611866, y: 4.681881}
|
|
||||||
- {x: 5.55133, y: 2.8422012}
|
|
||||||
- {x: 3.3098316, y: -0.3059883}
|
|
||||||
- {x: 2.846385, y: -6.029045}
|
|
||||||
m_UseDelaunayMesh: 0
|
m_UseDelaunayMesh: 0
|
||||||
|
--- !u!1 &8659149684389531527
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 5328317679980282276}
|
||||||
|
- component: {fileID: 118644195065513482}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: Sprite
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &5328317679980282276
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8659149684389531527}
|
||||||
|
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: 3238893659345357084}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!212 &118644195065513482
|
||||||
|
SpriteRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8659149684389531527}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_CastShadows: 0
|
||||||
|
m_ReceiveShadows: 0
|
||||||
|
m_DynamicOccludee: 1
|
||||||
|
m_StaticShadowCaster: 0
|
||||||
|
m_MotionVectors: 1
|
||||||
|
m_LightProbeUsage: 1
|
||||||
|
m_ReflectionProbeUsage: 1
|
||||||
|
m_RayTracingMode: 0
|
||||||
|
m_RayTraceProcedural: 0
|
||||||
|
m_RayTracingAccelStructBuildFlagsOverride: 0
|
||||||
|
m_RayTracingAccelStructBuildFlags: 1
|
||||||
|
m_SmallMeshCulling: 1
|
||||||
|
m_RenderingLayerMask: 1
|
||||||
|
m_RendererPriority: 0
|
||||||
|
m_Materials:
|
||||||
|
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_StaticBatchInfo:
|
||||||
|
firstSubMesh: 0
|
||||||
|
subMeshCount: 0
|
||||||
|
m_StaticBatchRoot: {fileID: 0}
|
||||||
|
m_ProbeAnchor: {fileID: 0}
|
||||||
|
m_LightProbeVolumeOverride: {fileID: 0}
|
||||||
|
m_ScaleInLightmap: 1
|
||||||
|
m_ReceiveGI: 1
|
||||||
|
m_PreserveUVs: 0
|
||||||
|
m_IgnoreNormalsForChartDetection: 0
|
||||||
|
m_ImportantGI: 0
|
||||||
|
m_StitchLightmapSeams: 1
|
||||||
|
m_SelectedEditorRenderState: 0
|
||||||
|
m_MinimumChartSize: 4
|
||||||
|
m_AutoUVMaxDistance: 0.5
|
||||||
|
m_AutoUVMaxAngle: 89
|
||||||
|
m_LightmapParameters: {fileID: 0}
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingLayer: 0
|
||||||
|
m_SortingOrder: 5
|
||||||
|
m_Sprite: {fileID: -3478180527601151190, guid: e8ceae3d59a3d36449e01f07d650e082, type: 3}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_FlipX: 0
|
||||||
|
m_FlipY: 0
|
||||||
|
m_DrawMode: 0
|
||||||
|
m_Size: {x: 32.08509, y: 24.839998}
|
||||||
|
m_AdaptiveModeThreshold: 0.5
|
||||||
|
m_SpriteTileMode: 0
|
||||||
|
m_WasSpriteAssigned: 1
|
||||||
|
m_MaskInteraction: 0
|
||||||
|
m_SpriteSortPoint: 1
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -40,8 +40,14 @@ TagManager:
|
|||||||
-
|
-
|
||||||
-
|
-
|
||||||
m_SortingLayers:
|
m_SortingLayers:
|
||||||
|
- name: Background
|
||||||
|
uniqueID: 622133659
|
||||||
|
locked: 0
|
||||||
- name: Default
|
- name: Default
|
||||||
uniqueID: 0
|
uniqueID: 0
|
||||||
locked: 0
|
locked: 0
|
||||||
|
- name: Foreground
|
||||||
|
uniqueID: 3162121095
|
||||||
|
locked: 0
|
||||||
m_RenderingLayers:
|
m_RenderingLayers:
|
||||||
- Default
|
- Default
|
||||||
|
|||||||
Reference in New Issue
Block a user