WaterExample

This class will probably eventually be called "LiquidVoxels" but this will do for now. This is the main class that pulls everything together.
This contains the "AddLiquid" method that allows you to add new liquids to the simulation.
This class also controls plugins and ticks the simulator.
To setup a new simulator with this class, add this to a gameobject and then add a class derived from IVoxelCom to "Volume Data". Add a plugin (I'd start with
RenderInTerrain), and you are now done. Play your scene and click "Start Water".

Is dit artikel nuttig voor u?