Fix incorrect layout of popup in camera canvas mode.
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user