Example: You want to create your own, let’s say, spreading snow effect to use with magio.
Steps:
- Easiest way is to duplicate the default magio template to start building your own effect.
- Navigate to Arctibyte/Magio/Core/VFX/Graphs
- Duplicate Mesh_TemplateMagio (Ctrl+D)
- You can also duplicate the Skinned Mesh template if you want.
- You can also duplicate the “MutableRenderer” template. MutableRenderer can handle both mesh and skinned mesh, but you have to be a little more flexible with it.
- Rename it to anything you like, but start with “Mesh_”
- Drag it to the scene to make it a game object.
- Drag it back from the scene to the project window to make it a prefab.
- Select your target game object which has been converted to magio object.
- Change Effect pack->Select effect prefab
- Drag your new effect to the effect prefab slot
- Go to VFX tab
- Press Preview VFX
- Your object should start emitting the default VFX right from it’s surface!
- Now you can start modifying the VFX graph you created earlier by double clicking.
- See some tutorials of Unity Visual Effects graph if you are not familiar with it.
- Magio property documentation can be seen in Arctibyte/Magio/Core/VFX/Graphs/VFX_Property_Documentation.txt