AR骑行人物控制代码重构&build混淆代码
This commit is contained in:
1 parent
7822584cdd
commit
2c9440f656
78 files changed
+562
-8031
No files matched your search
@@ -153,7 +153,7 @@ namespace Assets.AR
|
||||
float num5 = this.VideoSyncSource.AverageVideoSpeed(videoFrameAtDistance1, videoFrameAtDistance2);
|
||||
var ratio = ((double)num5 != 0.0 ? speed / num5 : 0.0f);
|
||||
var deltaRatio = (float)(((double)frame - ((double)this.VideoPlayer.CurrentFrame - (double)this.VideoFrameOffset)) / 2.0) / this.VideoPlayer.FrameRate;
|
||||
float playbackSpeed = Mathf.Clamp(ratio + deltaRatio, 0.0f, 1.8f);
|
||||
float playbackSpeed = Mathf.Clamp(ratio + deltaRatio, 0.0f, 1.5f);
|
||||
//Debug.Log(playbackSpeed);
|
||||
if ((double)playbackSpeed == (double)this.VideoPlayer.PlaybackSpeed || !this.VideoPlayer.SetPlaybackSpeed(playbackSpeed))
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user