コード例 #1
0
    public void UpdateScore()
    {
        HighScoreData score = new HighScoreData {
            score = FindObjectOfType <ScoreCounter>().score, player = "test player"
        };

        StartCoroutine(_table.Update <HighScoreData>(score, OnUpdateScoreCompleted));
    }
コード例 #2
0
    public void UpdateScore()
    {
        Highscore score = GetScore();

        if (Validate(score))
        {
            StartCoroutine(_table.Update <Highscore> (score, OnUpdateScoreCompleted));
        }
    }
コード例 #3
0
 private void UpdateInventory()
 {
     RecalculateInventoryItems();
     Debug.Log("Update:" + _inventory.ToString());
     StartCoroutine(_table.Update <Inventory> (_inventory, OnUpdateCompleted));
 }