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