コード例 #1
0
    public void OnStart(BoardGame.EValuationBasis valuationBasis, BoardGame.UserPlayer user, BoardGame.AIPlayer ai)
    {
        if (null != _userInfoPanel)
        {
            _userInfoPanel.Set(valuationBasis, user);
            _userInfoPanel.Show();
        }
        else
        {
            Log.Error("not found user info panel");
            _userInfoPanel.Hide();
        }

        if (null != _aiInfoPanel)
        {
            _aiInfoPanel.Set(valuationBasis, ai);
            _aiInfoPanel.Show();
        }
        else
        {
            Log.Error("not found ai info panel");
            _aiInfoPanel.Hide();
        }
    }