Example #1
0
 public void Build(CakeStructure cakeStructure, Material meshMat = null)
 {
     Build(cakeStructure.Radius, cakeStructure.Sides, cakeStructure.SidesToFill, meshMat);
 }
Example #2
0
 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));
 }