Example #1
0
    public void UpdateAttemptTexture()
    {
        switch (Properties.Attempts)
        {
        case 1:
            attemptScript.texture2D = attemp1;
            break;

        case 2:
            attemptScript.texture2D = attemp2;
            break;

        case 3:
            attemptScript.texture2D = attemp3;
            break;

        case 4:
            attemptScript.texture2D = attemp4;
            break;

        case 5:
            attemptScript.texture2D = attemp5;
            break;
        }

        StartCoroutine(attemptScript.ScaleInScaleOut());
    }