internal override void SetWidget(DebugUI.Widget widget)
 {
     base.SetWidget(widget);
     m_Field        = CastWidget <DebugUI.EnumField>();
     nameLabel.text = m_Field.displayName;
     UpdateValueLabel();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Set the value of the Debug Item.
 /// </summary>
 /// <param name="value">Input value.</param>
 /// <param name="field">Debug Item field.</param>
 public override void SetValue(object value, DebugUI.IValueField field)
 {
     m_EnumField = field as DebugUI.EnumField;
     base.SetValue(value, field);
 }