public static void ShowPromptPanel(string title, string context, PromtType type, Confirm confirm = null, CreateTeam createTeam = null, CopyTeam copyTeam = null) { PromtInfo info = new PromtInfo(); info.title = title; info.context = context; info.promtType = type; info.confirm = confirm; info.createTeam = createTeam; info.copyTeam = copyTeam; info.promtType = type; Facade.Instance.SendNotification(NotificationID.PromptOpen, info); }
public static void Show(PromtType type) { switch (type) { case PromtType.Question: //do question things here break; case PromtType.Information: //do information things here break; case PromtType.Feedback: //do feedback things here break; } }
public static void Show(PromtType type) { //... }