diff --git a/Assets/Resources/UI/UI_Item/UI_PracticeInfoItem.prefab b/Assets/Resources/UI/UI_Item/UI_PracticeInfoItem.prefab index cefd2db..670de9d 100644 --- a/Assets/Resources/UI/UI_Item/UI_PracticeInfoItem.prefab +++ b/Assets/Resources/UI/UI_Item/UI_PracticeInfoItem.prefab @@ -537,7 +537,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 15.8, y: -9.5} + m_AnchoredPosition: {x: 17.6, y: -8.6} m_SizeDelta: {x: 34.2788, y: 38.1399} m_Pivot: {x: 0, y: 1} --- !u!222 &5752134637232285867 diff --git a/Assets/Scripts/CXX/ScoreModel.cs b/Assets/Scripts/CXX/ScoreModel.cs new file mode 100644 index 0000000..dfde2e3 --- /dev/null +++ b/Assets/Scripts/CXX/ScoreModel.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +[Serializable] +public class ScoreModel +{ + public string time; + public string score; + public List pointList = new List(); +} +[Serializable] +public class ScoreInfo +{ + public string point; + public string pointInfo; + public string pointScore; +} diff --git a/Assets/Scripts/CXX/ScoreModel.cs.meta b/Assets/Scripts/CXX/ScoreModel.cs.meta new file mode 100644 index 0000000..2378d92 --- /dev/null +++ b/Assets/Scripts/CXX/ScoreModel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 94b1dfb6fb10c1b4b95c33a6beb698c3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Project/UI/UI_Panel/UI_PracticeCompletedPanel.cs b/Assets/Scripts/Project/UI/UI_Panel/UI_PracticeCompletedPanel.cs index 3b3c6ae..57ba759 100644 --- a/Assets/Scripts/Project/UI/UI_Panel/UI_PracticeCompletedPanel.cs +++ b/Assets/Scripts/Project/UI/UI_Panel/UI_PracticeCompletedPanel.cs @@ -10,6 +10,8 @@ public class UI_PracticeCompletedPanel : BasePanel public RectTransform content; public void Init() { + //ScoreManager.instance.GetScore(); + //ScoreManager.instance.GetStepScore(); UI_PracticeInfoItem temp = Instantiate(piiPrefab, content); GetControl("UsedTimesRes").text = "00:555"; GetControl("ScoreRes").text = "123";