Fixed most horrifying scaling issues with the book

This commit is contained in:
journaliciouz
2025-11-08 22:16:43 +01:00
parent 2ec53629c6
commit eda7361702
6 changed files with 293 additions and 25 deletions

View File

@@ -6,6 +6,7 @@ using System;
using UnityEngine.UI;
using UnityEngine.Playables;
using Core.Lifecycle;
using JetBrains.Annotations;
public class PlayerHudManager : ManagedBehaviour
{
@@ -118,18 +119,24 @@ public class PlayerHudManager : ManagedBehaviour
switch (mode)
{
case UIMode.Overworld:
// Update currentUIMode var
currentUIMode = UIMode.Overworld;
// Show app switcher
appSwitcher.SetActive(true);
// Hide eagle eye
eagleEye.SetActive(false);
break;
case UIMode.Puzzle:
// Update currentUIMode var
currentUIMode = UIMode.Puzzle;
// Hide app switcher
appSwitcher.SetActive(false);
// show eagle eye
eagleEye.SetActive(true);
break;
case UIMode.Minigame:
// Update currentUIMode var
currentUIMode = UIMode.Minigame;
// Hide app switcher
appSwitcher.SetActive(false);
// Hide birds eye
@@ -137,4 +144,6 @@ public class PlayerHudManager : ManagedBehaviour
break;
}
}
}