mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 17:57:39 +02:00
Game switching in every game
This commit is contained in:
@ -15,11 +15,11 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
|
||||
public void CheckNextFlick()
|
||||
{
|
||||
// allPlayerActions = EventCaller.GetAllInGameManagerList("forkLifter", new string[] { "gulp", "sigh", "prepare" });
|
||||
var allPlayerActions = EventCaller.GetAllPlayerEntities("forkLifter");
|
||||
int currentPlayerEvent = GameManager.instance.currentPlayerEvent - EventCaller.GetAllPlayerEntitiesExceptBeforeBeat("forkLifter", Conductor.instance.songPositionInBeats).Count;
|
||||
// var allPlayerActions = EventCaller.GetAllInGameManagerList("forkLifter", new string[] { "gulp", "sigh", "prepare" });
|
||||
// var allPlayerActions = EventCaller.GetAllPlayerEntities("forkLifter");
|
||||
// int currentPlayerEvent = GameManager.instance.currentEvent - EventCaller.GetAllPlayerEntitiesExceptBeforeBeat("forkLifter", Conductor.instance.songPositionInBeats).Count;
|
||||
|
||||
if (currentPlayerEvent < allPlayerActions.Count)
|
||||
/* if (currentPlayerEvent < allPlayerActions.Count)
|
||||
{
|
||||
switch (allPlayerActions[currentPlayerEvent].datamodel.Split('/')[1])
|
||||
{
|
||||
@ -44,7 +44,9 @@ namespace RhythmHeavenMania.Games.ForkLifter
|
||||
else
|
||||
{
|
||||
ForkLifter.instance.peaPreview.sprite = null;
|
||||
}
|
||||
}*/
|
||||
|
||||
// will fix later
|
||||
}
|
||||
|
||||
public void Prepare()
|
||||
|
Reference in New Issue
Block a user