public void Build(CakeStructure cakeStructure, Material meshMat = null) { Build(cakeStructure.Radius, cakeStructure.Sides, cakeStructure.SidesToFill, meshMat); }
public static CakeMesh AddCakeMesh(Vector3 position, CakeStructure cakeStructure, Material meshMat = null, bool attachRigidbody = true) { return(AddCakeMesh(position, cakeStructure.Radius, cakeStructure.Sides, cakeStructure.Sides, meshMat, attachRigidbody)); }