diff --git a/Assets/Misc/BuildTimestamp.txt b/Assets/Misc/BuildTimestamp.txt index 26c5143..8f906e9 100644 --- a/Assets/Misc/BuildTimestamp.txt +++ b/Assets/Misc/BuildTimestamp.txt @@ -1 +1 @@ -637530627653201243 \ No newline at end of file +637531566874593832 \ No newline at end of file diff --git a/Assets/Misc/ChangeLog.txt b/Assets/Misc/ChangeLog.txt index bd341e8..7c0a2cf 100644 --- a/Assets/Misc/ChangeLog.txt +++ b/Assets/Misc/ChangeLog.txt @@ -1,3 +1,9 @@ +0.3.6 + +- 修复 AudioOffset 为绝对值较大的负数时 Note 提前消失的问题 + +--- + 0.3.5 - 你现在可以从负数时间开始播放谱面 diff --git a/Assets/Scripts/Gameplay/Managers/ArcTimingManager.cs b/Assets/Scripts/Gameplay/Managers/ArcTimingManager.cs index 754bd82..e0901cc 100644 --- a/Assets/Scripts/Gameplay/Managers/ArcTimingManager.cs +++ b/Assets/Scripts/Gameplay/Managers/ArcTimingManager.cs @@ -463,7 +463,7 @@ public bool ShouldTryRender(int timing, ArcTimingGroup timingGroup, int duration } if (timing + duration >= earliestRenderTime && timing <= latestRenderTime) { - if (note && timing + duration + LostDelay < ArcGameplayManager.Instance.Timing - ArcAudioManager.Instance.AudioOffset) + if (note && timing + duration + LostDelay < ArcGameplayManager.Instance.Timing) { return false; } diff --git a/Assets/_Scenes/ArcEditor.unity b/Assets/_Scenes/ArcEditor.unity index e2891af..fc5c2df 100644 --- a/Assets/_Scenes/ArcEditor.unity +++ b/Assets/_Scenes/ArcEditor.unity @@ -3843,7 +3843,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 103.06751, y: -16.687117} + m_AnchoredPosition: {x: 103.067505, y: -16.687117} m_SizeDelta: {x: 206.13503, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &149707278 @@ -14486,10 +14486,10 @@ Camera: m_FocalLength: 50 m_NormalizedViewPortRect: serializedVersion: 2 - x: 0.05208333 - y: 0.059272725 - width: 0.8958333 - height: 0.8814545 + x: 0.14450869 + y: 0.16452442 + width: 0.7109826 + height: 0.6709511 near clip plane: 1 far clip plane: 10000 field of view: 50 @@ -25679,7 +25679,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 103.06751, y: -16.687117} + m_AnchoredPosition: {x: 103.067505, y: -16.687117} m_SizeDelta: {x: 206.13503, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &920387962 @@ -29793,7 +29793,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 257.0675, y: -16.687117} + m_AnchoredPosition: {x: 257.0675, y: -16.687119} m_SizeDelta: {x: 514.135, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1053558650 @@ -48086,7 +48086,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 103.06751, y: -16.687117} + m_AnchoredPosition: {x: 103.067505, y: -16.687117} m_SizeDelta: {x: 206.13503, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1353939835 @@ -55753,7 +55753,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 103.06751, y: -16.687117} + m_AnchoredPosition: {x: 103.067505, y: -16.687117} m_SizeDelta: {x: 206.13503, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1623844223 @@ -57092,7 +57092,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 257.0675, y: -66.06135} + m_AnchoredPosition: {x: 257.0675, y: -66.06134} m_SizeDelta: {x: 514.135, y: 33.374233} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1669833493 diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 4a728c7..81cd265 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -125,7 +125,7 @@ PlayerSettings: 16:10: 0 16:9: 1 Others: 0 - bundleVersion: 0.3.5 + bundleVersion: 0.3.6 preloadedAssets: - {fileID: 4800000, guid: bb26ede1beb997943a7d6295fbf075d4, type: 3} - {fileID: 4800000, guid: 1e340182228616b4ca7dad1e80f4d319, type: 3}