void Start() { tParentWnd = NormalWndCanvas.GetComponent <Transform>(); tParentMenu = MenuWndCanvas.GetComponent <Transform>(); tParentDialog = ModelDialogCanvas.GetComponent <Transform>(); WndManager.SetUINode(this); }
void OnDestroy() { WndManager.SetUINode(null); }