public virtual void DrawExtraSelectionOverlays() { if (this.def.specialDisplayRadius > 0.10000000149011612) { GenDraw.DrawRadiusRing(this.Position, this.def.specialDisplayRadius); } if (this.def.drawPlaceWorkersWhileSelected && this.def.PlaceWorkers != null) { for (int i = 0; i < this.def.PlaceWorkers.Count; i++) { this.def.PlaceWorkers[i].DrawGhost(this.def, this.Position, this.Rotation); } } if (this.def.hasInteractionCell) { GenDraw.DrawInteractionCell(this.def, this.Position, this.rotationInt); } }
public virtual void DrawExtraSelectionOverlays() { if (def.specialDisplayRadius > 0.1f) { GenDraw.DrawRadiusRing(Position, def.specialDisplayRadius); } if (def.drawPlaceWorkersWhileSelected && def.PlaceWorkers != null) { for (int i = 0; i < def.PlaceWorkers.Count; i++) { def.PlaceWorkers[i].DrawGhost(def, Position, Rotation, Color.white, this); } } if (def.hasInteractionCell) { GenDraw.DrawInteractionCell(def, Position, rotationInt); } }