public static void AddUIComponent(UIM_Component _c)
 {
     if (AllComponents.ContainsKey(_c.UID))
     {
         return;
     }
     AllComponents.Add(_c.UID, _c);
 }
    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();
    }