handle button toggling
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
public static class GodotGlobalEvents
|
||||
{
|
||||
public static event Func<BottomPanelType, Task> LeftSideBarButtonClicked = _ => Task.CompletedTask;
|
||||
public static void InvokeLeftSideBarButtonClicked(BottomPanelType type) => LeftSideBarButtonClicked?.Invoke(type);
|
||||
public static event Func<BottomPanelType?, Task> BottomPanelTabSelected = _ => Task.CompletedTask;
|
||||
public static void InvokeBottomPanelTabSelected(BottomPanelType? type) => BottomPanelTabSelected.Invoke(type);
|
||||
}
|
||||
|
||||
public enum BottomPanelType
|
||||
|
||||
Reference in New Issue
Block a user