public override void GetValue(ref Object obj) { Color4 color = new Color4(); color.r = m_Button.BackColor.R / 255.0f; color.g = m_Button.BackColor.G / 255.0f; color.b = m_Button.BackColor.B / 255.0f; color.a = m_Button.BackColor.A / 255.0f; obj = color; }
public override Object CreateDefault() { Color4 newColor4 = new Color4(); return newColor4; }