//public static void Popup(GameObject go) //{ // go.transform.SetParent(, false); // RectTransform rect = go.GetComponent<RectTransform>(); // rect.anchoredPosition = Vector2.zero; //} private static GameObject InitPopupPrefab(string prefabPath) { return(PopupManager.InitPopupPrefab(prefabPath)); }