public Mesh CreateXYCircleMesh(float radius, int numberOfSlices, Color color) { Mesh mesh = ProceduralMeshGeneration.CreateXYCircleMesh(radius, numberOfSlices, color); if (mesh != null) { _meshes.Add(mesh); } return(mesh); }
public Mesh CreateXZRectangleMesh(float width, float depth, Color color) { Mesh mesh = ProceduralMeshGeneration.CreateXZRectangleMesh(width, depth, color); if (mesh != null) { _meshes.Add(mesh); } return(mesh); }