public Services(Transform canvas, Transform stage, JoystickController joystickController /*, Character.Character character*/) { var characterService = new CharacterService(); var stageContext = new StageContext(characterService); _actionService = new ActionService(stageContext); _clientService = new ClientService(_actionService, characterService, stage); _serverSerivce = new ServerSerivce(); _inputService = new InputService(_clientService, joystickController); PrefabLoader.LoadMenuUI(canvas, _serverSerivce, _clientService); }