Esempio n. 1
0
    // This script will house all the player's data, like their username, as well as their score during a minigame, and overall minigames won while playing in a lobby.
    // Note that this is different from player persistent data, like options.

    public void SuccessfulHit()
    {
        //play animation
        Debug.Log("Player pressed a button!");
        instance.SuccessfulHit();
    }