# Photon Shooter

## Overview

There are three main objects in the **Photon Shooter** sub-module.

* **Weapon Registry:** A configuration object which contains all **Ammo** and **Weapons** that are required for your game to run.
* **Character** and **Player Shooter Network:** A component required to syncronize all shooter actions.

{% hint style="success" %}
This sub-module requires the [**Shooter**](https://gamecreator.page.link/shooter) and [**Photon Network**](https://assetstore.unity.com/packages/tools/network/photon-module-for-game-creator-123155) module
{% endhint %}

{% hint style="info" %}
Download the [**Photon Shooter**](http://u3d.as/1HYf) module
{% endhint %}

## Setup

Setting up the **Photon Shooter** sub module is a fairly straight forward process after you learn how to use the **Photon module** and **Shooter** module.

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-9b47775cf83aba7d3a8acf072eefe315c51dbf3b%2FSetup.png?alt=media)

### Step 1

The first thing you need is to setup a **Weapon Registry** component and add all the ammo and weapons as needed.

![This component needs to be present on the scene before joining a room.](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-6415383d095bd24371d25a336579ab023cf65ea8%2Fimage.png?alt=media)

### Step 2

Once this is done the final step is to turn on the "**Sync Shooter"** option in your **Player Character Shooter** or **Character Shooter** components.

![](https://3895715781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LDchaEIEhpBAh2gCe06%2Fuploads%2Fgit-blob-3f69f9f4c577451a5303f40eb17f12a9dede3254%2FScreen%20Recording%202020-07-25%20at%202.24.33%20PM.2020-07-25%2016_34_16.gif?alt=media)

{% hint style="info" %}
Please keep in mind this module is in **BETA**, if you see any bugs just report it to [**support@ninjutsugames.com**](mailto:support@ninjutsugames.com) or at the [**Discord Server**](https://discordapp.com/invite/u2K64A7)
{% endhint %}
