mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 08:17:38 +02:00
reset timeline song position on end
This commit is contained in:
@ -217,7 +217,13 @@ namespace HeavenStudio
|
|||||||
new Minigame("gameManager", "Game Manager", "", false, true, new List<GameAction>()
|
new Minigame("gameManager", "Game Manager", "", false, true, new List<GameAction>()
|
||||||
{
|
{
|
||||||
new GameAction("switchGame", delegate { GameManager.instance.SwitchGame(eventCaller.currentSwitchGame, eventCaller.currentEntity.beat); }, 0.5f, inactiveFunction: delegate { GameManager.instance.SwitchGame(eventCaller.currentSwitchGame, eventCaller.currentEntity.beat); }),
|
new GameAction("switchGame", delegate { GameManager.instance.SwitchGame(eventCaller.currentSwitchGame, eventCaller.currentEntity.beat); }, 0.5f, inactiveFunction: delegate { GameManager.instance.SwitchGame(eventCaller.currentSwitchGame, eventCaller.currentEntity.beat); }),
|
||||||
new GameAction("end", delegate { Debug.Log("end"); GameManager.instance.Stop(0); Timeline.instance?.SetTimeButtonColors(true, false, false);}),
|
new GameAction("end", delegate {
|
||||||
|
Debug.Log("end");
|
||||||
|
if (Timeline.instance != null)
|
||||||
|
Timeline.instance?.Stop(0);
|
||||||
|
else
|
||||||
|
GameManager.instance.Stop(0);
|
||||||
|
}),
|
||||||
new GameAction("skill star", delegate { }, 1f, true),
|
new GameAction("skill star", delegate { }, 1f, true),
|
||||||
|
|
||||||
new GameAction("toggle inputs", delegate
|
new GameAction("toggle inputs", delegate
|
||||||
|
Reference in New Issue
Block a user