mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:17:39 +02:00
Auto-Swing (#827)
* BurstLinq make BGM resync when changing pitch (to test) * autoswing some game implementations, most games already work fine * more game tweaks * 16th note swing more game fixes make pitch change resync optional in the API * suppress some common warnings * Update Credits.txt
This commit is contained in:
@ -15,6 +15,7 @@ using HeavenStudio.StudioDance;
|
||||
using Jukebox;
|
||||
using UnityEditor;
|
||||
using System.Linq;
|
||||
using BurstLinq;
|
||||
|
||||
namespace HeavenStudio.Editor
|
||||
{
|
||||
@ -269,6 +270,11 @@ namespace HeavenStudio.Editor
|
||||
|
||||
public void SelectMusic()
|
||||
{
|
||||
if (Timeline.instance != null)
|
||||
Timeline.instance?.Stop(0);
|
||||
else
|
||||
GameManager.instance.Stop(0);
|
||||
|
||||
var extensions = new[]
|
||||
{
|
||||
new ExtensionFilter("Music Files", "mp3", "ogg", "wav", "aiff", "aif", "aifc")
|
||||
|
Reference in New Issue
Block a user