海拔图区间微调,消息面板&线路等微调
This commit is contained in:
1 parent
b694a69f16
commit
46cc231fe7
19 files changed
+3604
-3034
No files matched your search
@@ -28,7 +28,7 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
Name = e.name;
|
||||
url = e.url;
|
||||
}
|
||||
float timer = 1f;
|
||||
float timer = 2f;
|
||||
private void Update()
|
||||
{
|
||||
timer -= Time.deltaTime;
|
||||
@@ -37,27 +37,19 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
if (!string.IsNullOrEmpty(Name))
|
||||
{
|
||||
text.text = Name;
|
||||
canvas.DOFade(1, 1);
|
||||
canvas.DOFade(1, 2);
|
||||
Name = string.Empty;
|
||||
}
|
||||
else
|
||||
{
|
||||
canvas.DOFade(0, 1);
|
||||
canvas.DOFade(0, 2);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(url))
|
||||
{
|
||||
Utils.DisplayImage(head, url, false);
|
||||
url = string.Empty;
|
||||
}
|
||||
//dic.
|
||||
//foreach (var item in dic)
|
||||
//{
|
||||
// text.text = item.Key;
|
||||
// Utils.DisplayImage(head, item.Value, true);
|
||||
// dic.Remove(item.Key);
|
||||
// break;
|
||||
//}
|
||||
timer = 1.0f;
|
||||
timer = 2.0f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user