Esempio n. 1
0
    private void Start()
    {
        if (Advertisement.isSupported)
        {
            Advertisement.Initialize("3318745", false);
        }
        firstPlayerName.text   = StaticVars.firstPlayerName;
        secoundPlayerName.text = StaticVars.secondPlayerName;
        singlePlayerName.text  = StaticVars.singlePlayerName;
        startPowerLinearAnimation();
        poseSelectedDificult((int)StaticVars.currentDificult);

        GooglePlayMaster.initialize();
    }
Esempio n. 2
0
    private IEnumerator hamerHitIEnumerator()
    {
        float powerPercent = getPowerLinearFillAmount();

        if (powerPercent == 0)
        {
            GooglePlayMaster.unlockAchivement(GPGSIds.achievement_like_a_baby);
        }
        else
        if (powerPercent == 1)
        {
            GooglePlayMaster.unlockAchivement(GPGSIds.achievement_one_punch);
        }
        return(hamerHitIEnumerator(powerPercent));
    }
Esempio n. 3
0
 public void showAchivements()
 {
     GooglePlayMaster.showAchivementsUI();
 }