From a46a302143604d5ea54dabbc804e9f3bbd08e014 Mon Sep 17 00:00:00 2001 From: Muhammad Equilibrie Fajria <104043362+MuhLibri@users.noreply.github.com> Date: Sat, 11 May 2024 14:04:05 +0700 Subject: [PATCH] update: quest box ui --- Assets/Prefab/Quest/QuestBox.prefab | 26 +++++++++++++------------- Assets/Scenes/Main.unity | 24 ++---------------------- 2 files changed, 15 insertions(+), 35 deletions(-) diff --git a/Assets/Prefab/Quest/QuestBox.prefab b/Assets/Prefab/Quest/QuestBox.prefab index d5070a4..50241e6 100644 --- a/Assets/Prefab/Quest/QuestBox.prefab +++ b/Assets/Prefab/Quest/QuestBox.prefab @@ -29,7 +29,10 @@ RectTransform: m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] + m_Children: + - {fileID: 3884207335912265496} + - {fileID: 7299243111172982669} + - {fileID: 1331621494776214613} m_Father: {fileID: 4522613962177512958} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.7037502, y: 0.5574942} @@ -100,16 +103,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6796073618102276004} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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: 4522613962177512958} + m_Father: {fileID: 1409760728203251230} 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_AnchoredPosition: {x: 228.20001, y: 124.21708} + m_AnchoredPosition: {x: -15, y: 17} m_SizeDelta: {x: 247.7, y: 25} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1775430054406355557 @@ -234,16 +237,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6844071517593411535} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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: 4522613962177512958} + m_Father: {fileID: 1409760728203251230} 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_AnchoredPosition: {x: 228.20001, y: 158.71709} + m_AnchoredPosition: {x: -15, y: 52} m_SizeDelta: {x: 247.7, y: 25} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &2112152998093313015 @@ -368,16 +371,16 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 7030027442088722608} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + 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: 4522613962177512958} + m_Father: {fileID: 1409760728203251230} 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_AnchoredPosition: {x: 228.2, y: 66.61707} + m_AnchoredPosition: {x: -15, y: -53} m_SizeDelta: {x: 247.7, y: 25} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &2819206717135709697 @@ -512,9 +515,6 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1409760728203251230} - - {fileID: 3884207335912265496} - - {fileID: 7299243111172982669} - - {fileID: 1331621494776214613} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 72be459..864c72d 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.026700953, g: 0.29866886, b: 0.49627915, a: 1} + m_IndirectSpecularColor: {r: 0.02670933, g: 0.2986151, b: 0.49627835, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -334,14 +334,6 @@ PrefabInstance: serializedVersion: 3 m_TransformParent: {fileID: 505937645} m_Modifications: - - target: {fileID: 1331621494776214613, guid: 078f6d98bcbaae045b231065743c0388, type: 3} - propertyPath: m_AnchoredPosition.y - value: 70.80799 - objectReference: {fileID: 0} - - target: {fileID: 1409760728203251230, guid: 078f6d98bcbaae045b231065743c0388, type: 3} - propertyPath: m_AnchoredPosition.y - value: 3.142685 - objectReference: {fileID: 0} - target: {fileID: 2366736185175236932, guid: 078f6d98bcbaae045b231065743c0388, type: 3} propertyPath: quests.Array.size value: 5 @@ -366,10 +358,6 @@ PrefabInstance: propertyPath: quests.Array.data[4] value: objectReference: {fileID: 1351431676} - - target: {fileID: 3884207335912265496, guid: 078f6d98bcbaae045b231065743c0388, type: 3} - propertyPath: m_AnchoredPosition.y - value: 162.908 - objectReference: {fileID: 0} - target: {fileID: 4522613962177512958, guid: 078f6d98bcbaae045b231065743c0388, type: 3} propertyPath: m_Pivot.x value: 0 @@ -450,18 +438,10 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 7299243111172982669, guid: 078f6d98bcbaae045b231065743c0388, type: 3} - propertyPath: m_AnchoredPosition.y - value: 128.408 - objectReference: {fileID: 0} - target: {fileID: 9106898269069510293, guid: 078f6d98bcbaae045b231065743c0388, type: 3} propertyPath: m_Name value: QuestBox objectReference: {fileID: 0} - - target: {fileID: 9106898269069510293, guid: 078f6d98bcbaae045b231065743c0388, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: [] @@ -645,7 +625,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!114 &74940504 MonoBehaviour: m_ObjectHideFlags: 0 -- GitLab