骑行结束时间误差问题解决
This commit is contained in:
1 parent
1919370a23
commit
12838266ba
7 files changed
+80
-53
No files matched your search
@@ -69,6 +69,12 @@ public class LocalRouteItem : MonoBehaviour, IPointerExitHandler, IPointerEnterH
|
||||
{
|
||||
var recordStr = File.ReadAllText(item);
|
||||
record = Newtonsoft.Json.JsonConvert.DeserializeObject<MapInterruptRecord>(recordStr);
|
||||
//不是自己的记录不显示
|
||||
var isself = record.UserId == App.CurrentUser.Id;
|
||||
if (!isself)
|
||||
{
|
||||
this.gameObject.SetActive(false);
|
||||
}
|
||||
Name.text = record.RouteName;
|
||||
Time.text = record.StartTime.ToString();
|
||||
RidingTime.text = $"<color={titleColor}>Riding time:</color>{record.Ticks}";
|
||||
|
||||
Reference in new issue
Block a user