Removed player object from main menu, fixed menu/game scene switching. Added translation for new trees but still not displaying.

This commit is contained in:
finnchen123
2026-02-06 14:49:25 +01:00
parent 2562321918
commit 4a3c9fa8c0
9 changed files with 61 additions and 93 deletions

View File

@@ -36,7 +36,10 @@ namespace Assets.Scripts.Player
private void OnEnable()
{
#if UNITY_EDITOR
SceneHandler.switchGameToMenu();
if (GameObject.Find("SceneHandlerLoaded") == null)
{
SceneHandler.switchGameToMenu();
}
#endif
ControlEvents.OnLookingInput += rotate;
ControlEvents.OnMovingInput += move;