mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:07:38 +02:00
Implemented inactive functions for all game count ins
Also made some changes to how SwitchGame(), OnGameSwitch, and the jukebox work.
This commit is contained in:
@ -44,12 +44,11 @@ namespace RhythmHeavenMania.Games
|
||||
|
||||
public int firstEnable = 0;
|
||||
|
||||
public virtual void OnGameSwitch()
|
||||
public virtual void OnGameSwitch(float beat)
|
||||
{
|
||||
//Below is a template that can be used for handling previous entities.
|
||||
//section below is if you only want to look at entities that overlap the game switch
|
||||
/*
|
||||
float beat = Conductor.instance.songPositionInBeats;
|
||||
List<Beatmap.Entity> prevEntities = GameManager.instance.Beatmap.entities.FindAll(c => c.beat <= beat && c.datamodel.Split(0) == [insert game name]);
|
||||
foreach(Beatmap.Entity entity in prevEntities)
|
||||
{
|
||||
|
Reference in New Issue
Block a user