10 [
Attribute(
desc:
"When true, the icon will remain visible on edge of the screen when it's not in the view.")]
11 private bool m_bShowOffScreen;
13 private Widget m_Widget;
15 private WorkspaceWidget m_Workspace;
16 private float m_fFade;
33 void OnShownOffScreen(
bool offScreen);
44 OnInit(entity, entity.GetInfo(), slot)
66 m_Widget.RemoveFromHierarchy();
88 return m_Widget && m_Widget.IsVisible();
94 void SetVisible(
bool visible)
96 m_Widget.SetVisible(visible);
97 m_Widget.SetEnabled(visible);
122 bool IsShownOffScreen()
124 return m_bShowOffScreen;
128 override void HandlerAttached(Widget w)