Draws the ribbon shape
The data to handle
Gets the number of sides for this shape
The particle to process
the sides count
Resets ribbon state when particle respawns
The particle to process
Clears ribbon state when particle is destroyed, so it gets properly recreated when recycled from the pool. Without this, a recycled particle would keep stale ribbonPoints[] positions (from when it was destroyed far off-screen), causing isInsideCanvas to immediately flag it as outside again.
The particle to process
Ribbon shape drawer plugin