hold音符补丁 备份
This commit is contained in:
@@ -487,7 +487,16 @@ public class selected_songInfo : MonoBehaviour
|
||||
|
||||
private void UpdateMusicPlaybackProgress()
|
||||
{
|
||||
if (preListenAS == null || preListenAS.clip == null || !preListenAS.isPlaying) return;
|
||||
if (preListenAS == null || preListenAS.clip == null) return;
|
||||
|
||||
// 检查是否自然播放结束
|
||||
if (!preListenAS.isPlaying && preListenAS.time >= preListenAS.clip.length * 0.99f)
|
||||
{
|
||||
StopPlayback();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!preListenAS.isPlaying) return;
|
||||
|
||||
// 如果用户没在拖动,则自动更新进度条
|
||||
if (!Input.GetMouseButton(0))
|
||||
|
||||
Reference in New Issue
Block a user