12 lines
363 B
C#
12 lines
363 B
C#
|
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();
|
||
|
}
|
||
|
}
|