Search - User list
Full Version: Scripting in C#
Root » Houdini Engine for Unity » Scripting in C#
motorcycleboy
Hello,

I'm finding the Evergreen Generator example script slightly confusing. If you run the script you can animate the tree by changing its gravity parameter and also randomly set different colors for the “branch_vtx_color_color” parameter. However, it seems that this doesn't work at runtime which makes me wonder what the practical purpose of this script would be?

Can anyone give some use cases of scripting with the plugin? I've seen people discussing instancing Houdini Assets at runtime. Are there any other good examples?
seelan
The purpose of the script is to show how to use the plugin through scripting. Its not meant to be used at runtime, though the fact that it asks to test it in play mode makes it slightly confusing. Regardless, the code it uses works in Editor mode.

The plugin does not support runtime at the moment.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB