7 private Widget m_Widget;
41 protected bool IsUnique()
52 void HandlerAttachedScripted(Widget w);
54 override void HandlerAttached(Widget w)
62 if (!
m_Root.FindComponent(Type()))
68 Print(
string.Format(
"Duplicate instance of UI component %1 found on widget '%2'! The component is marked as unique, only one instance is allowed.", Type(), w.GetName()), LogLevel.WARNING);
79 override void HandlerDeattached(Widget w)