增加编号,loading页提示,延迟毫秒
This commit is contained in:
1 parent
b9aa0131cc
commit
558fb16160
62 files changed
+7533
-2804
No files matched your search
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f32005e7feffc344096558df74482afb
|
||||
guid: 805aa640eb93e8e4e8da69ec52bcf9a1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
|
||||
@@ -227,7 +227,7 @@ namespace Assets.Scripts.UI.Control
|
||||
break;
|
||||
case Type.Image:
|
||||
{
|
||||
tooltips.SetActive(false);
|
||||
//tooltips.SetActive(false);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -98,7 +98,7 @@ public class MapItem : MonoBehaviour, IPointerExitHandler, IPointerEnterHandler,
|
||||
});
|
||||
transform.Find("Name").GetComponent<Text>().text = myMap.Name;
|
||||
|
||||
|
||||
transform.Find("IdContainer/Text").GetComponent<Text>().text = $"#{myMap.Id}";
|
||||
transform.Find("Hot").gameObject.SetActive(myMap.IsFire);
|
||||
var props = transform.Find("Props");
|
||||
props.Find("DistanceText").GetComponent<Text>().text = $"{myMap.Distance.ToString(myMap.Distance>1000? "#0" : "#0.00")}KM";
|
||||
|
||||
@@ -79,6 +79,7 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
||||
= $"{mapCompetition.AverageGrade.ToString("#0.00")}%";
|
||||
transform.Find("InfoContainer/StartTime/Text").GetComponent<Text>().text = mapCompetition.StartTime.ToLocalTime().ToString();
|
||||
transform.Find("CountContainer/Text").GetComponent<Text>().text = mapCompetition.ApplyCount.ToString();
|
||||
transform.Find("IdContainer/Text").GetComponent<Text>().text = $"#{mapCompetition.RouteId}";
|
||||
SetStatus(mapCompetition);
|
||||
#if !(UNITY_ANDROID || UNITY_IOS)
|
||||
SetButtonGroup(mapCompetition);
|
||||
@@ -233,6 +234,7 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
||||
transform.Find("GetReadyContainer").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||
transform.Find("GetReadyContainer-2").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||
transform.Find("InfoContainer").GetComponent<CanvasGroup>().DOFade(1, 0.2f);
|
||||
transform.Find("IdContainer").GetComponent<CanvasGroup>().DOFade(1, 0.2f);
|
||||
if (myType == ItemType.small)
|
||||
{
|
||||
transform.Find("DataContainer").GetComponent<CanvasGroup>().DOFade(0, 0.5f);
|
||||
@@ -266,6 +268,7 @@ public class RaceItemScript : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
||||
transform.Find("GetReadyContainer").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||
transform.Find("GetReadyContainer-2").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||
transform.Find("InfoContainer").GetComponent<CanvasGroup>().DOFade(0, 0.2f);
|
||||
transform.Find("IdContainer").GetComponent<CanvasGroup>().DOFade(0, 0.2f);
|
||||
if (myType == ItemType.small)
|
||||
{
|
||||
transform.Find("DataContainer").GetComponent<CanvasGroup>().DOFade(1, 0.5f);
|
||||
|
||||
Reference in new issue
Block a user