private static Transform NewLayoutAndEventSys(Vector3 pos) { GameObject layout = UIEditorHelper.CreatNewLayout(); pos.z = 0; layout.transform.position = pos; return(UIEditorHelper.GetRootLayout(layout.transform)); }