示例#1
0
    public void InitializePlayer(Controller controller)
    {
        Controller      = controller;
        gameObject.name = string.Format("Player {0} - {1}", playerNumber, controller.gameObject.name); //will only use to debug

        uiPlayerText.HandlePlayerInitialized();
    }
示例#2
0
    public void InitializePlayer(Controller controller)
    {
        this.controller = controller;
        gameObject.name = $"Player {playerNumber} - {controller.gameObject.name}";

        uiPlayerText.HandlePlayerInitialized();
    }