public static VectorLine DrawSector3D(this Circle2 self, float y, float from, float to, Color color, float time = 0) { Vector3[] v3Point = self.CalcSectorPoints3D(y, from, to, CIRCLE_POINTS); var ret = time == 0 ? VectorLine.SetLine3D(color, v3Point) : VectorLine.SetLine3D(color, time, v3Point); ret.name = "SectorLine"; return(ret); }