public virtual Color DrawColor
{
get
{
if (this.Stuff != null)
{
return this.Stuff.stuffProps.color;
}
if (this.def.graphicData != null)
{
return this.def.graphicData.color;
}
return Color.white;
}
set
{
Log.Error(string.Concat(new object[]
{
"Cannot set instance color on non-ThingWithComps ",
this.LabelCap,
" at ",
this.Position,
"."
}));
}
}