File was renamed from Assets/Scripts/Managers/UIManager.cs |
| | |
| | | using Assets.Scripts.Enums; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using TMPro; |
| | |
| | | using UnityEngine.InputSystem; |
| | | using UnityEngine.SceneManagement; |
| | | |
| | | public class UIManager : SettingsManager |
| | | public class GameManager : SettingsManager |
| | | { |
| | | public GameObject damageTextPrefab; |
| | | public GameObject healthTextPrefab; |
| | | public Canvas playerUI; |
| | | public Canvas pauseMenuUI; |
| | | |
| | | private void Awake() |
| | | { |
| | | SoundManager.instance.ChangeMusic(SoundName.MusicHappy); |
| | | } |
| | | |
| | | private void OnEnable() |
| | | { |
| | | // add listen events |