у меня появилась ошибка в шаблоне юнити, шаблон называется:runner game
вот ошибка которая прерывает игру после того как я начинаю двигать персонажа :Player cannot move because SetMaxXPosition has never been called or Level Width is 0. If you are in the LevelEditor scene, ensure a level has been loaded in the LevelEditor Window!
UnityEngine.Debug:LogError (object)
HyperCasual.Runner.PlayerController:SetDeltaPosition (single) (at Assets/Runner/Scripts/PlayerController.cs:213)
HyperCasual.Runner.InputManager:Update () (at Assets/Runner/Scripts/InputManager.cs:92)
коды:
( я оставлю скрипт в гугл диск так как у меня не копируются коды сюда input manager.cs: https://drive.google.com/file/d/17dTEd6 ... sp=sharing
Player controller.cs: https://drive.google.com/file/d/1E85Fml ... sp=sharing