BGJ-2022.1/Assets/Scripts/UI/CanvasUIConnection.cs

12 lines
363 B
C#
Raw Normal View History

using UnityEngine;
namespace UI
{
public class CanvasUIConnection : MonoBehaviour, IUIManager
{
public void SwitchToCanvas(string canvasName) => UIManager.Instance.SwitchToCanvas(canvasName);
public void CloseAllCanvases() => UIManager.Instance.CloseAllCanvases();
public void ExitGame() => UIManager.Instance.ExitGame();
}
}