de-static-ify game manager and conductor for minigame logic

This commit is contained in:
minenice55
2024-01-18 23:52:38 -05:00
parent e9bda6742e
commit f68192e6e2
4 changed files with 21 additions and 17 deletions

View File

@ -1109,6 +1109,8 @@ namespace HeavenStudio
{
_currentMinigame = minigame;
minigame.minigameName = game;
minigame.gameManager = this;
minigame.conductor = Conductor.instance;
}
Vector3 originalScale = currentGameO.transform.localScale;
currentGameO.transform.parent = eventCaller.GamesHolder.transform;