Custom defaults
You can actually replace the default defaults with your own defaults of choice.
Simply create a new module and name it whatever you want — TweenDefaults
is recommended.
It's crucial that you give it the tag TweenDefaults
, so that Tween+ can identify it.
The module has to return a table, like this:
return {
}
You don't need to list all customization options. Those not provided will stay at the default default.
Here's the default defaults:
return {
Time = 1,
EasingStyle = "Linear",
EasingDirection = "In",
DelayTime = 0,
Reverses = false,
RepeatCount = 0,
FPS = nil,
UpdateEvent = "PreSimulation"
}
Last updated