android端发布前微调

This commit is contained in:
lishuo committed 2022-07-06 17:48:55 +08:00
1 parent d38330d969
commit bd9696cd81
34 files changed
+859 -934

No files matched your search

@@ -335,7 +335,7 @@ namespace Assets.Scripts.Scenes.VideoRide
}
}
//显示人物海拔图的头像
public void CreateHeadImage()
protected virtual void CreateHeadImage()
{
if (head == null)
{
@@ -96,6 +96,12 @@ namespace Assets.Scripts.Scenes.VideoRide
{
base.ComputeVideo();
}
protected override void CreateHeadImage()
{
base.CreateHeadImage();
if (diff < 0)
((RectTransform)head.transform).anchoredPosition = new Vector2(((RectTransform)head.transform).anchoredPosition.x, -800f);
}
//设置当前玩家属性
public void SetPlayer(string name, double distance, double totalDistance, double cadance,double heartRate, double wkg, int userId,double power,double currentPlayerDistance,int frame)
@@ -128,7 +128,7 @@ namespace Assets.Scripts.Scenes.VideoRide
recorderData.PreDistance = Math.Round(preDistance, 6, MidpointRounding.AwayFromZero);
recorderData.EndDistance = Math.Round(targetData._Distance, 6, MidpointRounding.AwayFromZero);
recorderData.RiderDatas.Add(targetData);
//默认启用多圈
//if (totalDistance >= mapData.TotalDistance)
//{
// start = false;