コード例 #1
0
    // Constructor
    public HumanController(PlayerOnClient nPlayer)
    {
        player = nPlayer;

        if(InGameLobby.instance != null)
            lobbyChat = InGameLobby.instance.lobbyChat;

        // Input manager
        inputManager = InputManager.instance;
        buttons = new InputButtons(inputManager);
    }
コード例 #2
0
    // Constructor
    public HumanController(PlayerOnClient nPlayer)
    {
        player = nPlayer;

        if (InGameLobby.instance != null)
        {
            lobbyChat = InGameLobby.instance.lobbyChat;
        }

        // Input manager
        inputManager = InputManager.instance;
        buttons      = new InputButtons(inputManager);
    }