添加分数数据模型
This commit is contained in:
parent
8c57515bb2
commit
7ab75d4907
|
@ -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
|
||||
|
|
|
@ -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<ScoreInfo> pointList = new List<ScoreInfo>();
|
||||
}
|
||||
[Serializable]
|
||||
public class ScoreInfo
|
||||
{
|
||||
public string point;
|
||||
public string pointInfo;
|
||||
public string pointScore;
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 94b1dfb6fb10c1b4b95c33a6beb698c3
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -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<TextMeshProUGUI>("UsedTimesRes").text = "00:555";
|
||||
GetControl<TextMeshProUGUI>("ScoreRes").text = "123";
|
||||
|
|
Loading…
Reference in New Issue