Skip to content

Commit

Permalink
Feat: SettingBtn LayerOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
wooyn730 committed Nov 17, 2024
1 parent 1202f5b commit 28d255c
Show file tree
Hide file tree
Showing 4 changed files with 265 additions and 8 deletions.
235 changes: 235 additions & 0 deletions Assets/Prefabs/System/SettingSystem.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -1928,6 +1928,240 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &4283421332592615069
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7754249535706208448}
- component: {fileID: 5074715087603293082}
- component: {fileID: 4250298028826877838}
- component: {fileID: 7715892839129966939}
m_Layer: 5
m_Name: SettingBtn
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7754249535706208448
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4283421332592615069}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7607472912886499478}
m_Father: {fileID: 2162176244392371930}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!223 &5074715087603293082
Canvas:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4283421332592615069}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 1
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 1
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_VertexColorAlwaysGammaSpace: 0
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 1546151723
m_SortingOrder: 4
m_TargetDisplay: 0
--- !u!114 &4250298028826877838
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4283421332592615069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 1
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 1920, y: 1080}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 0
--- !u!114 &7715892839129966939
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4283421332592615069}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!1 &4848254361678375663
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7607472912886499478}
- component: {fileID: 7197944199094695453}
- component: {fileID: 3179190097781504161}
- component: {fileID: 104277782216460730}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7607472912886499478
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4848254361678375663}
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: 7754249535706208448}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -46.8, y: -43.9}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 1, y: 1}
--- !u!222 &7197944199094695453
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4848254361678375663}
m_CullTransparentMesh: 1
--- !u!114 &3179190097781504161
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4848254361678375663}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 49848b7da3902d34da693fd20bef6f78, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &104277782216460730
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4848254361678375663}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 3179190097781504161}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 977441387082237809}
m_TargetAssemblyTypeName: Runtime.Common.View.SettingsUIView, Scripts
m_MethodName: GameSettingToggle
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &5025059340301348446
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1958,6 +2192,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 7754249535706208448}
- {fileID: 2556870853252807087}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Expand Down
29 changes: 23 additions & 6 deletions Assets/Scenes/CH1.unity
Original file line number Diff line number Diff line change
Expand Up @@ -11498,7 +11498,7 @@ GameObject:
m_Component:
- component: {fileID: 399678925}
m_Layer: 0
m_Name: ---Dialogue---
m_Name: ---Controller---
m_TagString: EditorOnly
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
Expand Down Expand Up @@ -26561,7 +26561,7 @@ Canvas:
m_AdditionalShaderChannelsFlag: 0
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 1546151723
m_SortingOrder: 4
m_SortingOrder: 3
m_TargetDisplay: 0
--- !u!1 &901798306
GameObject:
Expand Down Expand Up @@ -55254,7 +55254,7 @@ Camera:
far clip plane: 1000
field of view: 70
orthographic: 0
orthographic size: 5
orthographic size: 11.25
m_Depth: -1
m_CullingMask:
serializedVersion: 2
Expand All @@ -55279,7 +55279,7 @@ Transform:
m_GameObject: {fileID: 1674432335}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -4.32, y: -5.56, z: -10}
m_LocalPosition: {x: -3.925093, y: -0.4651599, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
Expand Down Expand Up @@ -68814,10 +68814,18 @@ PrefabInstance:
propertyPath: m_Name
value: SettingSystem
objectReference: {fileID: 0}
- target: {fileID: 5074715087603293082, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_Camera
value:
objectReference: {fileID: 1674432337}
- target: {fileID: 5678979071786669097, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6347440992739952066, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6584498748132185721, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_IsActive
value: 1
Expand Down Expand Up @@ -68846,6 +68854,14 @@ PrefabInstance:
propertyPath: m_UiScaleMode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7607472912886499478, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_AnchoredPosition.x
value: -46.799988
objectReference: {fileID: 0}
- target: {fileID: 7607472912886499478, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_AnchoredPosition.y
value: -43.899994
objectReference: {fileID: 0}
- target: {fileID: 8333262551354297480, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_Name
value: BGMSlider
Expand All @@ -68855,7 +68871,8 @@ PrefabInstance:
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_RemovedGameObjects:
- {fileID: 6347440992739952066, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 2556870853252807087, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
insertIndex: -1
Expand Down Expand Up @@ -71905,7 +71922,6 @@ SceneRoots:
- {fileID: 1051889806}
- {fileID: 2511279292538436685}
- {fileID: 342591944}
- {fileID: 326335555}
- {fileID: 901641455}
- {fileID: 1311836792}
- {fileID: 200716017}
Expand All @@ -71914,6 +71930,7 @@ SceneRoots:
- {fileID: 101260565}
- {fileID: 594261035}
- {fileID: 399678925}
- {fileID: 326335555}
- {fileID: 8470899940852173831}
- {fileID: 1651610314298150028}
- {fileID: 1496251486}
Expand Down
7 changes: 6 additions & 1 deletion Assets/Scenes/CH2.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1666,6 +1666,10 @@ PrefabInstance:
propertyPath: m_Name
value: SettingSystem
objectReference: {fileID: 0}
- target: {fileID: 5074715087603293082, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_Camera
value:
objectReference: {fileID: 705529360}
- target: {fileID: 5678979071786669097, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
propertyPath: m_IsActive
value: 1
Expand All @@ -1679,7 +1683,8 @@ PrefabInstance:
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_RemovedGameObjects:
- {fileID: 6347440992739952066, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0d61b18444317944a99ee38e37220ff8, type: 3}
Expand Down
2 changes: 1 addition & 1 deletion Assets/StreamingAssets/build_info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Build from WOOS_COM at 2024-11-11 오후 8:48:28
Build from WOOS_COM at 2024-11-17 오후 11:26:16

0 comments on commit 28d255c

Please sign in to comment.