private void UpdateComponent() { if (component == null) { component = new CuiOutlineComponent(); } component.Color = _color; component.Distance = _distance; }
static bool EqualComponent(CuiOutlineComponent e1, CuiOutlineComponent e2) { if (e1.Color != e2.Color) { return(false); } if (e1.Distance != e2.Distance) { return(false); } return(e1.UseGraphicAlpha == e2.UseGraphicAlpha); }