game: changing script variables
This commit is contained in:
parent
3db6d3b6ce
commit
5b5e16d4db
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ public class Backend : MonoBehaviour
|
|||
FirebaseGet();
|
||||
}
|
||||
|
||||
public async void SendData(string uid, int score, string displayName, int daysPlayed, int customersHelped,
|
||||
public async void SendData(string uid, int score, string displayName, int daysPlayed, int customersHelpedCorrectly,
|
||||
int customersHelpedWrongly)
|
||||
{
|
||||
var user = new Users
|
||||
|
@ -50,7 +50,7 @@ public class Backend : MonoBehaviour
|
|||
score = score,
|
||||
displayName = displayName,
|
||||
daysPlayed = daysPlayed,
|
||||
customersHelped = customersHelped,
|
||||
customersHelped = customersHelpedCorrectly,
|
||||
customersHelpedWrongly = customersHelpedWrongly,
|
||||
};
|
||||
await Client.From<Users>().Insert(user).ContinueWith(SendTask =>
|
||||
|
|
Loading…
Add table
Reference in a new issue