> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/3rd-party-particle-integrations-16/archanor-vfx-5/rainbow-magic.md).

# Rainbow Magic

{% embed url="<https://www.youtube.com/watch?v=Qp4BnjEveEI>" %}

**➡️** [**Get it on the Asset Store**](https://assetstore.unity.com/packages/vfx/particles/spells/projectile-factory-for-rainbow-magic-by-archanor-vfx-291943?aid=1100lxWw)

## Changes Made

### Trail Renderers

Many of the projectiles have trail renderes, which cause visual issues when they are returned from the pool. Those projectiles have a `ToggleTrailRendererObjectsDestroyAndLaunchObserverObject` component on them. This will turn them off and on appropriately with the right code to clear their positions and remove the visual effect.
