28 lines
753 B
C#
28 lines
753 B
C#
using System.Threading;
|
|
using Cysharp.Threading.Tasks;
|
|
using RebootKit.Engine.UI;
|
|
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
|
|
namespace RebootKit.Engine.Services.Development {
|
|
public class DebugOverlayView : MonoBehaviour, IView {
|
|
[SerializeField] UIDocument m_Document;
|
|
|
|
void Start() {
|
|
}
|
|
|
|
public async UniTask Show(CancellationToken cancellationToken) {
|
|
gameObject.SetActive(true);
|
|
await UniTask.Yield(cancellationToken);
|
|
}
|
|
|
|
public async UniTask Hide(CancellationToken cancellationToken) {
|
|
gameObject.SetActive(false);
|
|
await UniTask.Yield(cancellationToken);
|
|
}
|
|
|
|
void SetOverlayModeChanged(int mode) {
|
|
|
|
}
|
|
}
|
|
} |