4 private const float m_fFadeRate = 8;
8 private BaseInteractionHandlerComponent m_InteractionComponent;
11 override event void UpdateValues(IEntity owner,
float timeSlice)
36 bool show = m_InteractionComponent.IsInteractionAvailable();
37 Show(show, m_fFadeRate);
41 override event void OnStartDraw(IEntity owner)
43 super.OnStartDraw(owner);
53 PlayerController controller = g.GetPlayerController();
55 m_InteractionComponent = BaseInteractionHandlerComponent.Cast(controller.FindComponent(BaseInteractionHandlerComponent));
58 ChimeraCharacter character = ChimeraCharacter.Cast(owner);
66 Print(
string.Format(
"Character Controller not found in %1 for %2, HUD will not work.",
"CharacterUnitInfoDisplay", character.GetName()), LogLevel.WARNING);