changed how the actor toolbox is created. Allows fo user to enter their own tabs and actors with an attribute

This commit is contained in:
Chandler Cox
2022-11-11 16:37:45 -06:00
parent 81c13825c5
commit 4515844219
41 changed files with 169 additions and 41 deletions

View File

@@ -7,7 +7,7 @@
/// <summary>
/// Root of the UI structure. Renders GUI and handles input events forwarding.
/// </summary>
API_CLASS(Sealed, NoConstructor, Attributes="ActorContextMenu(\"New/UI/UI Canvas\")") class FLAXENGINE_API UICanvas : public Actor
API_CLASS(Sealed, NoConstructor, Attributes="ActorContextMenu(\"New/UI/UI Canvas\"), ActorToolbox(\"GUI\")") class FLAXENGINE_API UICanvas : public Actor
{
DECLARE_SCENE_OBJECT(UICanvas);
public: