19 lines
423 B
C#
19 lines
423 B
C#
using System;
|
|
using Cysharp.Threading.Tasks;
|
|
using UnityEngine.UIElements;
|
|
|
|
namespace DanieleMarotta.RiversongCodeShowcase
|
|
{
|
|
public interface IUIRoot : IDisposable
|
|
{
|
|
VisualElement RootVisualElement { get; }
|
|
|
|
event Action<ClickEvent> ElementClicked;
|
|
|
|
UniTask Initialize(UIService uiService);
|
|
|
|
void MakeDraggable(VisualElement target);
|
|
|
|
T GetView<T>() where T : UIView;
|
|
}
|
|
} |