Warp traps and tidying up the house

This commit is contained in:
2025-12-04 10:53:21 +00:00
parent e0c93be280
commit 00a433132b
38 changed files with 4036 additions and 192 deletions

View File

@@ -50,7 +50,7 @@ public class WinZone : MonoBehaviour
{
blackScreenPanel.SetActive(true);
CanvasGroup cg = blackScreenPanel.GetComponent<CanvasGroup>();
// If no CanvasGroup exists, add one
if (cg == null) cg = blackScreenPanel.AddComponent<CanvasGroup>();