# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/3rd-party-particle-integrations-16/archanor-vfx-5/rainbow-magic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
