static IEnumerator CallCoroutine(string _uid, float _time) { yield return(new WaitForSeconds(_time)); foreach (KeyValuePair <string, UIM_Component> c in AllComponents) { c.Value.Close(); } UIM_Component _component = AllComponents[_uid]; _component.Show(); }
public static void Get(string _uid) { if (!AllComponents.ContainsKey(_uid)) { return; } foreach (KeyValuePair <string, UIM_Component> c in AllComponents) { c.Value.Close(); } UIM_Component _component = AllComponents[_uid]; _component.Show(); }