mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:47:39 +02:00
Spaceball swing + low ball throw + perspective camera
This commit is contained in:
@ -24,10 +24,13 @@ namespace RhythmHeavenMania
|
||||
|
||||
public float startOffset;
|
||||
|
||||
public Camera GameCamera;
|
||||
|
||||
[Header("Games")]
|
||||
Coroutine currentGameSwitchIE;
|
||||
private string currentGame;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
instance = this;
|
||||
@ -115,6 +118,7 @@ namespace RhythmHeavenMania
|
||||
|
||||
eventCaller.minigames.Find(c => c.name == currentGame).holder.SetActive(false);
|
||||
eventCaller.minigames.Find(c => c.name == game).holder.SetActive(true);
|
||||
GameCamera.orthographic = true;
|
||||
eventCaller.minigames.Find(c => c.name == game).holder.GetComponent<Minigame>().OnGameSwitch();
|
||||
currentGame = game;
|
||||
|
||||
|
Reference in New Issue
Block a user