riversong code showcase
This commit is contained in:
19
Source/Riversong/Game/UI/Framework/IUIRoot.cs
Normal file
19
Source/Riversong/Game/UI/Framework/IUIRoot.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user