From b56205a9772ce8bd0a94e85864431378edf077b7 Mon Sep 17 00:00:00 2001 From: Vova Date: Mon, 17 Apr 2023 16:39:52 +0300 Subject: [PATCH] fix ui for job agency selection popup --- Assets/Prefabs/UI/JobSelectorUI.prefab | 206 +++++-------------------- 1 file changed, 38 insertions(+), 168 deletions(-) diff --git a/Assets/Prefabs/UI/JobSelectorUI.prefab b/Assets/Prefabs/UI/JobSelectorUI.prefab index a4f19e4e..0106bf69 100644 --- a/Assets/Prefabs/UI/JobSelectorUI.prefab +++ b/Assets/Prefabs/UI/JobSelectorUI.prefab @@ -34,10 +34,10 @@ RectTransform: m_Father: {fileID: 0} m_RootOrder: -1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 550, y: 400} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &5407876737168081677 MonoBehaviour: @@ -117,7 +117,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 280, y: 0} + m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &8491863560958911165 @@ -266,10 +266,10 @@ RectTransform: m_Father: {fileID: 6648371948412499500} m_RootOrder: -1 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_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 182} + m_SizeDelta: {x: 550, y: 36} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &5308724973174893402 MonoBehaviour: @@ -502,10 +502,10 @@ RectTransform: m_Father: {fileID: 6601132036907049051} m_RootOrder: -1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 50.83618, y: -137.85} + m_SizeDelta: {x: 101.6724, y: 275.7} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1014568743049487013 MonoBehaviour: @@ -527,7 +527,7 @@ MonoBehaviour: m_ChildAlignment: 0 m_Spacing: 5 m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 + m_ChildForceExpandHeight: 0 m_ChildControlWidth: 0 m_ChildControlHeight: 0 m_ChildScaleWidth: 0 @@ -574,8 +574,8 @@ RectTransform: m_Father: {fileID: 8958716429631575486} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} + 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} @@ -654,7 +654,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 5218368191141696415} - m_Enabled: 1 + m_Enabled: 0 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} m_Name: @@ -680,7 +680,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 5218368191141696415} - m_Enabled: 1 + m_Enabled: 0 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} m_Name: @@ -722,10 +722,10 @@ RectTransform: m_Father: {fileID: 6648371948412499500} m_RootOrder: -1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 280, y: 0} - m_SizeDelta: {x: 560, y: 0} + m_AnchorMin: {x: 0.5, y: 0} + m_AnchorMax: {x: 0.5, y: 0} + m_AnchoredPosition: {x: 0, y: 30} + m_SizeDelta: {x: 550, y: 43} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1843006956921425075 MonoBehaviour: @@ -795,15 +795,14 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7576638544866753300} + m_Children: [] m_Father: {fileID: 6601132036907049051} m_RootOrder: -1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 349.6673, y: -137.85} + m_SizeDelta: {x: 400.6702, y: 275.7} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &3101455637694641571 MonoBehaviour: @@ -825,7 +824,7 @@ MonoBehaviour: m_ChildAlignment: 0 m_Spacing: 10 m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 + m_ChildForceExpandHeight: 0 m_ChildControlWidth: 0 m_ChildControlHeight: 0 m_ChildScaleWidth: 0 @@ -865,10 +864,10 @@ RectTransform: m_Father: {fileID: 6648371948412499500} m_RootOrder: -1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 275, y: -210.65001} + m_SizeDelta: {x: 550, y: 275.7} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &6620728592913174509 MonoBehaviour: @@ -877,7 +876,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6761822786400578276} - m_Enabled: 1 + m_Enabled: 0 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} m_Name: @@ -929,10 +928,10 @@ RectTransform: m_Father: {fileID: 6648371948412499500} m_RootOrder: -1 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_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 275, y: -54.399994} + m_SizeDelta: {x: 550, y: 36.8} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &7028435943487993487 MonoBehaviour: @@ -960,135 +959,6 @@ MonoBehaviour: m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 m_ReverseArrangement: 1 ---- !u!1001 &1507199578273643869 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - serializedVersion: 3 - m_TransformParent: {fileID: 3731607605728727607} - m_Modifications: - - target: {fileID: 3310662501840371697, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_Name - value: JobItemUiTemplate - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_RootOrder - value: -1 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_SizeDelta.x - value: 350 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_SizeDelta.y - value: 50 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchoredPosition.x - value: 185 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_RemovedGameObjects: [] - m_AddedGameObjects: [] - m_AddedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 3fd1d54e5064a0841972b791abc6919f, type: 3} ---- !u!224 &7576638544866753300 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 9065471836884485705, guid: 3fd1d54e5064a0841972b791abc6919f, - type: 3} - m_PrefabInstance: {fileID: 1507199578273643869} - m_PrefabAsset: {fileID: 0} --- !u!1001 &4885670798789882735 PrefabInstance: m_ObjectHideFlags: 0 @@ -1287,7 +1157,7 @@ PrefabInstance: - target: {fileID: 3806516704876462308, guid: ea47665625ccfd4408f6411caf45f910, type: 3} propertyPath: m_AnchoredPosition.x - value: 420 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3806516704876462308, guid: ea47665625ccfd4408f6411caf45f910, type: 3} @@ -1617,7 +1487,7 @@ PrefabInstance: - target: {fileID: 3806516704876462308, guid: ea47665625ccfd4408f6411caf45f910, type: 3} propertyPath: m_AnchoredPosition.x - value: 140 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3806516704876462308, guid: ea47665625ccfd4408f6411caf45f910, type: 3}