Previewer
VariaPreviewer is a component that automatically instantiates a given object or prefab.
It's useful for doing live previews in the editor as you configure your objects.
The recursion tutorial includes a bit of detail about how to set up and use the previewer.
Settings
Target
The unity object that should be instantiated. This should usually be a prefab, or it should have component VariaPrototype
. Otherwise, that component will run any varia components it has before the previewer instantiates it and runs them a second time.
Refresh In Editor
If true, then the previewer runs in the editor when opening the scene.
Note that the objects created are marked as DontSave so they will not get saved in the scene.
Continous Refresh
If Refresh in Editor is set and this is true, then the previewer will run every time you change the scene.
Refresh Buffer Time
Forces continouous refresh to be a little less immediate, useful if you are suffering performance issues.
Seed
If non-zero, initializes Unity's random number generator. This can be used to make the preview repeateable, which is useful if you are seeing too much noise.