public void AddInfoPopup(string text, float ttl = 2000) { InfoPopup ip = new InfoPopup(text); ip.CreateGui(Gui); ip.TimeToLive = ttl; GuiComponents.Add(ip); }
public void AddInfoPopup(string text, float ttl = 2000) { InfoPopup ip = new InfoPopup(text); ip.CreateGui(Gui); ip.TimeToLive = ttl; GuiComponents.Add(ip); }