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(); }
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(); }