Creating new Modules
Last updated
Last updated
To create modules, you have to understand how the VariableHolder class work.
The Variable holder contains two main parts. ✅ What type of variable? ✅ The value of the variable.
Modules contain a list of VariableHolder. For example, one for the duration, one for the animation curve, etc. This kind of structure allows an easier way to modify the module for each use case.
You can access them by their index in the list and by taking the type of data stored. Example: moduleContainer.variableHolders[0].floatValue