static public void ShowInstantPopup(string msg) { if (null == uiPopup) { Init(); } GameObject go = uiPopup.CreateInstantPopupSlot(); if (go == null) { return; } UIInstantPopupSlot instantPopupSlot = go.GetComponent <UIInstantPopupSlot>(); instantPopupSlot.SetMsg(msg); go.SetActive(true); }