コード例 #1
0
 public override ProBuilderMesh Build(bool preview = false)
 {
     return(ShapeGenerator.GenerateCylinder(
                EditorUtility.newShapePivotLocation,
                s_AxisSegments,
                s_Radius,
                s_Height,
                s_HeighSegments,
                s_Smooth ? 1 : -1));
 }