Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     lifes = 5;
     score = 0;
     MenuPauseComp.handleBotaoGanharVida.OnNext(lifes);
     UnityAdControle.InitializeAds();
     proxTilePos = pontoInicial;
     proxTileRot = Quaternion.identity;
     for (int i = 0; i < numSpawnIni; i++)
     {
         SpawnProxTile(i >= numTilesSemOBS);
     }
 }
Exemple #2
0
    // Start is called before the first frame update
    void Start()
    {
#if UNITY_ADS
        UnityAdControle.InitializeAds();
#endif
        proxTilePos = pontoInicial;
        proxTileRot = Quaternion.identity;

        for (int i = 0; i < numSpawnIni; i++)
        {
            SpawnProxTile(i >= numTilesSemOBS);
        }
    }