My attempt of a Marching cubes algorithm in Unity based on the Acknowledgments below.
Unity 2018.3+ (might work with older ones, just not tested with) Tested with a Samsung S8 (Android 8.0.0)
Open up the project and in the Assets/MarchingCubes-folder one can find 2 example-scenes. One using a random populator and one for AR.
This is the heart of this project.
This sets the resolution for the nodes/grid. 1 being one unity unit 2 being 0.5 an so on.
Populates (adds a point to the grid and recalculates the changes for that addition) a world-space position or positions.
Optionally one can also set the vertex color of the point by providing a color. (Defaults to white)
Deletes a point or points in a world-space coordinate and recalculates the changes.
A renderer component for the MarchingCubes.cs
One can squeeze a bit more performance by disabling this option if bounds, normals and tangents are not needed for the mesh generated.
These are the example populators for the system.
One can make own populators easily by calling the Populate() and Delete() functions of the MarchingCubes.cs in his/hers own script. (Take a look at the forementioned populator scripts).