1 [
ComponentEditorProps(
category:
"GameScripted/Editor", description:
"Access to the editor by pressin input actions. Works only with SCR_EditorBaseEntity!", icon:
"WBData/ComponentEditorProps/componentEditor.png")]
13 protected ResourceName m_Layout;
15 protected Widget m_Widget;
17 override void EOnEditorInit()
22 Print(
string.Format(
"Widget '%1' does not have SCR_EditorToggleUIComponent!",
m_Layout.GetPath()), LogLevel.WARNING);
23 m_Widget.RemoveFromHierarchy();
26 override void EOnEditorDelete()
28 if (m_Widget) m_Widget.RemoveFromHierarchy();