// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. using FlaxEngine; namespace FlaxEditor.SceneGraph.Actors { /// /// Scene tree node for actor type. /// /// [HideInEditor] public sealed class UIControlNode : ActorNode { /// public UIControlNode(Actor actor) : base(actor) { } /// public override void OnDebugDraw(ViewportDebugDrawData data) { base.OnDebugDraw(data); if (Actor is UIControl uiControl) DebugDraw.DrawWireBox(uiControl.Bounds, Color.BlueViolet); } } }