From 2afdf571fc152737401f19b986c00a582aa32108 Mon Sep 17 00:00:00 2001 From: jmaniuvc Date: Tue, 27 May 2025 10:49:30 +0900 Subject: [PATCH] =?UTF-8?q?OpenProjectInfo=20=EB=84=A4=EC=9D=B4=EB=B0=8D?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Prefabs/AAA/Panel_Start.prefab | 61 +++++++++++++++---- .../Studio/UI/Panel/Panel_OpenProjectInfo.cs | 6 +- 2 files changed, 51 insertions(+), 16 deletions(-) diff --git a/Assets/Prefabs/AAA/Panel_Start.prefab b/Assets/Prefabs/AAA/Panel_Start.prefab index 9bf40fda..854ecc61 100644 --- a/Assets/Prefabs/AAA/Panel_Start.prefab +++ b/Assets/Prefabs/AAA/Panel_Start.prefab @@ -303,7 +303,7 @@ GameObject: - component: {fileID: 8437882087950305944} - component: {fileID: 3711770782896488384} m_Layer: 5 - m_Name: RecentProject + m_Name: RecentProjects m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -512,11 +512,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 8442211465833285608} - m_Father: {fileID: 8077778061927309343} + m_Father: {fileID: 790222180904077758} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -195, y: 481} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -75, y: 0} m_SizeDelta: {x: 150, y: 30} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6821069964571767830 @@ -1223,6 +1223,43 @@ MonoBehaviour: m_EditorClassIdentifier: m_HorizontalFit: 2 m_VerticalFit: 2 +--- !u!1 &1148144311671675505 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 790222180904077758} + m_Layer: 5 + m_Name: Footer + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &790222180904077758 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1148144311671675505} + 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: + - {fileID: 8842885401555582044} + - {fileID: 257342738452468770} + m_Father: {fileID: 8077778061927309343} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -279.5, y: 481} + m_SizeDelta: {x: 319, y: 30} + m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1209247484688262419 GameObject: m_ObjectHideFlags: 0 @@ -3253,11 +3290,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 4273659457179816744} - m_Father: {fileID: 8077778061927309343} + m_Father: {fileID: 790222180904077758} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -364, y: 481} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 75, y: 0} m_SizeDelta: {x: 150, y: 30} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &8272817071417235799 @@ -7665,8 +7702,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2248164051436803653} - - {fileID: 8842885401555582044} - - {fileID: 257342738452468770} + - {fileID: 790222180904077758} m_Father: {fileID: 1175761343609887864} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -7726,8 +7762,7 @@ MonoBehaviour: m_EditorClassIdentifier: InputField_ProjectRoute: {fileID: 0} Button_FileExplorer: {fileID: 0} - Button_Server: {fileID: 0} - Content: {fileID: 0} + RecentProjects: {fileID: 0} Text_ProjectName: {fileID: 0} Image_ProjectMetaInfo: {fileID: 0} Button_Open: {fileID: 0} diff --git a/Assets/Scripts/Studio/UI/Panel/Panel_OpenProjectInfo.cs b/Assets/Scripts/Studio/UI/Panel/Panel_OpenProjectInfo.cs index 80015def..7925fbd4 100644 --- a/Assets/Scripts/Studio/UI/Panel/Panel_OpenProjectInfo.cs +++ b/Assets/Scripts/Studio/UI/Panel/Panel_OpenProjectInfo.cs @@ -18,8 +18,8 @@ namespace Studio.UI public TMP_InputField InputField_ProjectRoute; public Button Button_FileExplorer; - public Button Button_Server; - public RectTransform Content; + //public Button Button_Server; + public RectTransform RecentProjects; public Action onClickFileExplorer; public Action onClickServer; @@ -90,7 +90,7 @@ namespace Studio.UI public void CreateRecentProjectItem() { - UI_QuickStartItem item = Instantiate(recentProjectItemPrefab, Content).GetComponent(); + UI_QuickStartItem item = Instantiate(recentProjectItemPrefab, RecentProjects).GetComponent(); item.Init(name, OnClickItem); }