Ejemplo n.º 1
0
 /// <summary>
 /// Immediately process tile-to-mesh data and upload it to the mesh.
 ///
 /// Does nothing if the terminal state hasn't changed.
 /// </summary>
 public void ImmediateUpdate()
 {
     _backend.UpdateDataAndUploadToMesh(_tiles, Mesh);
 }
Ejemplo n.º 2
0
 void Update()
 {
     Profiler.BeginSample("Backend update");
     _backend.UpdateDataAndUploadToMesh(_tiles, _mesh);
     Profiler.EndSample();
 }