protected override void CreateChildren() { base.CreateChildren(); _overlay = new InspectorOverlay { Id="inspector_overlay", Visible = false }; AddChild(_overlay); }
protected override void CreateChildren() { base.CreateChildren(); _selectionOverlay = new InspectorOverlay { Id="selection_overlay", Visible = false }; _selectionOverlay.SetStyle("showLabel", false); _selectionOverlay.SetStyle("borderStyle", InspectorOverlay4PxStyle.Instance); _selectionOverlay.SetStyle("borderColor", Color.yellow); AddChild(_selectionOverlay); _hoverOverlay = new InspectorOverlay { Id = "hover_overlay", Visible = false }; _hoverOverlay.SetStyle("borderColor", Color.red); AddChild(_hoverOverlay); }