赛事loading页面状态实时变化和一些微调
This commit is contained in:
1 parent
ea79b6cfc5
commit
0eb399be9a
16 files changed
+4074
-2881
No files matched your search
@@ -43,7 +43,7 @@ public class CyclingController : DeviceServiceMonoBase
|
||||
public List<MapRouteRanking> mapRouteRankingList { get; set; }
|
||||
private Vector2d coordiantes;//当前地图中心
|
||||
|
||||
public bool isStart;//当前游戏是否开始
|
||||
public bool isStart { get; set; }//当前游戏是否开始
|
||||
public CyclingModel cyclingModel { get; set; }//当前骑行模式
|
||||
public BaseCycling cyclingController { get; set; }
|
||||
private int routeId;
|
||||
@@ -684,7 +684,6 @@ public class CyclingController : DeviceServiceMonoBase
|
||||
|
||||
string imageFileName = path +"/"+ Guid.NewGuid().ToString() + ".png";
|
||||
CaptureCamera(Camera.main, new Rect(Screen.width * 0f, Screen.height * 0f, Screen.width * 0.5f, Screen.height * 0.5f), imageFileName);
|
||||
|
||||
cyclingController.recorderData.StartTime = startTime;
|
||||
cyclingController.recorderData.EndTime = UIManager.Now.GetDateTime();
|
||||
cyclingController.recorderData.IsCompleted = totalDistance == mapData.TotalDistance;
|
||||
|
||||
Reference in new issue
Block a user