This is not my project but I have updated it to work with newer Unity versions. Before my latest updates it only worked with Unity 2019.2 and below. It now works fine with Unity 2020.3.28f1. I have done a pull request to fix the original. If the original repo has been updated since to fix this compatibility, please ignore this repo!
FluvioFX is currently in early active development. While we will try to maintain backwards compatibility, until 1.0 certain features may be added or removed at any time. Use in larger production projects with care.
- Unity 2019.3 or newer
- Visual Effect Graph 7.1.8 or newer
First, make sure all required packages are installed. These must be installed manually before installing FluvioFX.
Once all required packages are added, add the following line to dependencies
in your manifest.json
(in the Packages subfolder of your Unity project):
"com.fluvio.fx": "https://github.com/mjducharme/fluviofx.git"
Currently, FluvioFX requires a small patch that must be added to the Visual Effect Graph package before usage. This is needed in order to access some internal classes. Once imported, this process should happen automatically. A FLUVIOFX compilation file will then be automatically added to the current (and any future) build platforms, which will allow Unity to load the FluvioFX assembly.
If you have any compiler errors after importing or reimporting packages, try the following:
- Run Tools > FluvioFX > Install...
- If the above menu is missing or any files are still broken, try to uninstall and reinstall both FluvioFX and the Visual Effect Graph
This workaround will be removed once the VFX Graph's API has been finalized. See FluvioFXInstall.cs for the full implementation, including all file modifications.
To create a new fluid VFX asset, navigate to Assets > Create > Visual Effects > FluvioFX Graph. You can also add a Fluid Particle System to an existing graph under the Systems menu in the graph.
The default graphs include many helpful sticky notes with more information, so it is highly recommended to use this for initial setup.
See full documentaion here. Full documentation is coming soon! For now, take a look at the sticky notes in the graph for help.
Coming soon!