Expand description
Built-in behaviours you attach in the editor with no code. They run every frame in Play mode. (Spin, Bob, Pulse, Wobble, ColorCycle.) Scripts can add, remove and tweak them like any component.
Structs§
- Bob
- Floats back and forth along an axis.
- Color
Cycle - Cycles the material colour through the hue wheel.
- Pulse
- Breathes: scale oscillates around its starting value.
- Spin
- Rotates continuously (degrees per second per axis).
- Wobble
- Organic drift: moves around its starting position following procedural noise.
Functions§
- hsv_
to_ rgb - Converts HSV to RGB. Hue wraps in cycles; saturation and value should be in 0..1.
- update
- Advances every modifier by
dt;timeis seconds since the game started. Non-finite time/delta and negative deltas are ignored.