Exemple #1
0
 void OnPowerDown(PowerdownManager.types type)
 {
     //SORETE:
     if (powerupManager.type == PowerupManager.types.MOTO)
     {
         return;
     }
     Events.OnChangeSpeed(1.4f, false);
     hero.OnSorete();
     Invoke("ResetDash", 0.35f);
 }
Exemple #2
0
    public void InitPowerDown()
    {
        //   int id = Random.Range(1, 1);

        int id = 1;

        sorete.SetActive(false);

        switch (id)
        {
            case 1: sorete.SetActive(true); type = PowerdownManager.types.SORETE; break;
        }
    }
Exemple #3
0
    public void InitPowerDown()
    {
        //   int id = Random.Range(1, 1);

        int id = 1;

        sorete.SetActive(false);

        switch (id)
        {
        case 1: sorete.SetActive(true); type = PowerdownManager.types.SORETE; break;
        }
    }