Ejemplo n.º 1
0
    private void CheckLevelState()
    {
        string auxText = "";

        switch (currentLevel.NumLevel)
        {
        case 1:
            auxText = "NIVEL 1";
            break;

        case 2:
            auxText = "NIVEL 2";
            break;

        case 3:
            auxText = "NIVEL 3";
            break;

        default:
            auxText = "Error en CheckLevelState";
            break;
        }

        //levelText.text = "<color=#DDF33BFF>" + auxText + "</color>";
        levelText.text = auxText;

        canvasManager.ActivateTriggerAnimator("LevelUp");
    }