Esempio n. 1
0
        void SpawnPlayer()
        {
            PlayerController playerController = new PlayerController(playerView.gameObject);

            playerControllers.Add(playerController);
            inputManager.AddPlayer(playerController, playerController.GetInputComponent());
        }