Beispiel #1
0
    public void SaveHighPointsToApi()
    {
        HighPointsModel model = new HighPointsModel()
        {
            Id         = 999,
            PlayerID   = SystemInfo.deviceUniqueIdentifier,
            HighPoints = guildPoints,
            Username   = User.GetGlobalUsername()
        };
        string response = "";

        response          = ApiConsumer.InsertHighScore(model);
        textResponse.text = response;
        Debug.Log(response);
    }