示例#1
0
 //Re-Triangulate the Cell grid to refresh properties
 private void LateUpdate()
 {
     if (triangulate)
     {
         cellMesh.Triangulate(cells);
         triangulate = false;
     }
 } //End LateUpdate()
示例#2
0
 public void Start()
 {
     cellMesh.Triangulate(cells);
 }