1 [
ComponentEditorProps(
category:
"GameScripted/Editor", description:
"Hints for editor interface. Works only with SCR_EditorBaseEntity!", icon:
"WBData/ComponentEditorProps/componentEditor.png")]
7 void Init(IEntity owner)
11 void Exit(IEntity owner)
18 [
Attribute(
"1",
desc:
"When enabled, hints in the editor won't fade out on their own, players have to close them manually.")]
19 protected bool m_bInfiniteHints;
21 override void EOnEditorActivate()
23 SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
28 hintManager.SetDurationOverride(-1);
34 override void EOnEditorDeactivate()
36 SCR_HintManagerComponent hintManager = SCR_HintManagerComponent.GetInstance();
41 hintManager.SetDurationOverride(0);
47 override void EOnEditorClose()
49 SCR_HintManagerComponent.HideHint();