◆ ChangeBackgroundColor()
void SCR_NearbyContextWidgetComponentBase.ChangeBackgroundColor |
( |
Color | newColor | ) |
|
Change the color of the Background Widget.
- Parameters
-
[in] | Color | The color, the backgroung should have |
◆ ChangeVisibility()
void SCR_NearbyContextWidgetComponentBase.ChangeVisibility |
( |
bool | isInLineOfSight | ) |
|
Changes the color of the root to make the whole widget darker / lighter to indicate if it's on line of sight or not.
- Parameters
-
[in] | bool | Is in line of sight |
◆ GetAssignedContext()
Get the context that currently uses this Widget.
◆ GetOnContextAssigned()
ScriptInvokerVoid SCR_NearbyContextWidgetComponentBase.GetOnContextAssigned |
( |
| ) |
|
◆ HandlerAttached()
override void SCR_NearbyContextWidgetComponentBase.HandlerAttached |
( |
Widget | w | ) |
|
◆ OnAssigned()
Will be called everytime the Widget gets assigned to a new context This happens everytime the context is in line of sight again.
- Parameters
-
[in] | UIInfo | containing all the information for the widget Icon, etc. Can be null |
[in] | UserActionContext | Context the Widget gets assigned to |
◆ m_AssignedContext
◆ m_FirstAction
◆ m_NotVisibleWidgetColor
ref Color SCR_NearbyContextWidgetComponentBase.m_NotVisibleWidgetColor |
|
protected |
◆ m_OnContextAssigned
ref ScriptInvokerVoid SCR_NearbyContextWidgetComponentBase.m_OnContextAssigned |
|
protected |
◆ m_sBackgroundWidgetName
string SCR_NearbyContextWidgetComponentBase.m_sBackgroundWidgetName |
|
protected |
◆ m_sGlowWidgetName
string SCR_NearbyContextWidgetComponentBase.m_sGlowWidgetName |
|
protected |
◆ m_VisibleWidgetColor
ref Color SCR_NearbyContextWidgetComponentBase.m_VisibleWidgetColor |
|
protected |
◆ m_wBackground
ImageWidget SCR_NearbyContextWidgetComponentBase.m_wBackground |
|
protected |
◆ m_wGlow
ImageWidget SCR_NearbyContextWidgetComponentBase.m_wGlow |
|
protected |
◆ m_wRoot
Widget SCR_NearbyContextWidgetComponentBase.m_wRoot |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/HUD/SCR_NearbyContextWidgetComponentBase.c