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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user