# Quick Start Guide

Follow this guide to add a get projectiles spawning in a new scene, and learn how to [**create your first projectile**](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/create-your-first-projectile), [**add Projectile Factory to your project**](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/add-projectile-factory-and-create-a-projectile-spawner), [**use 3rd Party Integrations**](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/use-3rd-party-integrations) with popular Asset Store particle packs, and [**extend the logic**](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/extending-projectile-factory).

{% content-ref url="quick-start-guide/create-your-first-projectile" %}
[create-your-first-projectile](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/create-your-first-projectile)
{% endcontent-ref %}

{% content-ref url="quick-start-guide/add-projectile-factory-and-create-a-projectile-spawner" %}
[add-projectile-factory-and-create-a-projectile-spawner](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/add-projectile-factory-and-create-a-projectile-spawner)
{% endcontent-ref %}

{% content-ref url="quick-start-guide/use-3rd-party-integrations" %}
[use-3rd-party-integrations](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/use-3rd-party-integrations)
{% endcontent-ref %}

{% content-ref url="quick-start-guide/extending-projectile-factory" %}
[extending-projectile-factory](https://infinitypbr.gitbook.io/magic-pig-games/projectile-factory/overview-and-quickstart/quick-start-guide/extending-projectile-factory)
{% endcontent-ref %}

## Installing & Setting up the Demo Scene + Integrations

In this **beginner friendly video**, I walk through the installation of Projectile Factory into a new project, setting up layers and Post Processing, so the demo work as it does in the demo videos. We also import one of the integrations, along with the particle package that is integrated.

{% embed url="<https://youtu.be/3Dg_XlC80CQ>" %}

1. Install **Text Mesh Pro** and **Post Processing** from the Package Manager
2. Add two layers: "*Projectile*" and "*Post* *Processing*"
3. Use the helper method to set the layer of all Projectiles to "Projectile"
   1. Select menu: *Window/Projectile Factory/Helpers/Set Layer of all Projectiles*
   2. Make sure "*Projectile*" is selected in the window that pops up, and accept.

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2Ff3ihsmUfJ4Af3v21B1dI%2FScreen%20Recording%202024-04-12%20at%209.52.27%E2%80%AFPM.gif?alt=media&#x26;token=ac9e2521-c48a-4bba-a8e4-b7e7b4af5390" alt=""><figcaption></figcaption></figure>

4. Set up the Post Processing on the Camera:
   1. Set the layer of the Camera object to "Post Processing"
   2. Set the "Volume Blending / Layer" option in the "Post Process Layer" component to "Post Processing"
5.

```
<div><figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2F75sTHh0UomNlN56so2PW%2FScreenshot%202024-04-12%20at%2010.01.42%E2%80%AFPM.png?alt=media&#x26;token=a67722b3-380c-441d-bcdf-1f625859ab31" alt=""><figcaption></figcaption></figure> <figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FQZyvYbnXdl4NuuNVdCd5%2FScreenshot%202024-04-12%20at%2010.02.03%E2%80%AFPM.png?alt=media&#x26;token=c8b3572f-41ff-4ccc-84aa-c002f0f536a4" alt=""><figcaption></figcaption></figure></div>
```

**That's it!**


---

# 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/overview-and-quickstart/quick-start-guide.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.
