Ive just finished Alex Stv's Voxel tutorial on http://alexstv.com/index.php/category/voxel-tutorial, and realized it would be very handy to have a custom inspector for the TerrainGenerator variables, so that I could easily tweak and test how the world would change by using it.
The problem is, the class doesn't actually implement MonoBehaviour, as it's always used by other classes. I could extend the class to MonoBehaviour, and that would allow me to use the inspector, but since this class only really governs how the height map are going to effect the position and type of the voxels, not the creation of the world itself, it would make the inspector less useful.
I wanted to be able to have a button in the inspector to regenerate the world, check the changes in a quick and efficient way. How would I go about to have an inspector that would both allow me to regulate and change the variables in TerrainGenerator, and also allow me to regenerate and (maybe) change some world variables?
Would I need to have multiple inspectors--one to change the variables used in the simplex, and another, smaller one for the regenerative button?