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(); }
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)); }
public void showAchivements() { GooglePlayMaster.showAchivementsUI(); }