Fix incorrect layout of popup in camera canvas mode.

This commit is contained in:
2023-07-28 14:10:03 +08:00
parent 799b1e12da
commit 8b64165fb7
3 changed files with 454 additions and 181 deletions

View File

@@ -16,7 +16,7 @@ namespace Cryville.Crtr {
group = GetComponent<CanvasGroup>();
group.alpha = 0;
GetComponentInChildren<Text>().text = Message;
transform.SetParent(GameObject.Find("PopupList").transform);
transform.SetParent(GameObject.Find("PopupList").transform, false);
}
void Update() {