void SpawnPlayer() { PlayerController playerController = new PlayerController(playerView.gameObject); playerControllers.Add(playerController); inputManager.AddPlayer(playerController, playerController.GetInputComponent()); }
void SpawnPlayer() { PlayerController playerController = new PlayerController(playerView.gameObject); playerControllers.Add(playerController); inputManager.AddPlayer(playerController, playerController.GetInputComponent()); }