23 lines
482 B
C#
23 lines
482 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TestUIMono : MonoBehaviour
|
|
{
|
|
[Sirenix.OdinInspector.Button]
|
|
public void ShowUI()
|
|
{
|
|
GameApp.UI.ShowUI<UILoadUpdate>();
|
|
}
|
|
[Sirenix.OdinInspector.Button]
|
|
public void CloseUI()
|
|
{
|
|
GameApp.UI.CloseUI<UILoadUpdate>();
|
|
}
|
|
[Sirenix.OdinInspector.Button]
|
|
public void ForceCloseUI()
|
|
{
|
|
GameApp.UI.CloseUI<UILoadUpdate>(true);
|
|
}
|
|
}
|