Ejemplo n.º 1
0
    public void PrintText(SystemType type)
    {
        switch (type)
        {
        case SystemType.Money:
            textSystem.text = "System : Not enough gold";
            break;

        case SystemType.Build:
            textSystem.text = "System : Invalid space to build tower";
            break;
        }

        tmpAlpha.FadeOut();
    }
Ejemplo n.º 2
0
    public void PrintText(SystemType type)
    {
        switch (type)
        {
        case SystemType.Money:
            textSystem.text = "Not enough money";
            break;

        case SystemType.Build:
            textSystem.text = "Invaild build tower";
            break;
        }

        tMPAlpha.FadeOut();
    }