Ejemplo n.º 1
0
    public void Win(float time, string username)
    {
        DataLoader dl = GetComponent <DataLoader>();

        dl.CreateNewUserScore(username, (int)time);
        timer.gameObject.SetActive(false);
    }