Quick Start

Photon Engine integration overview

Overview

After installing integration you can open Photon Playgroud scene to try Photon Engine with AI Tree.

Photon Playgroud scene path

Start Server

To start the server (connect to the server), you must have a Network Manager component on the stage.

In the Player Template field, you must pass the prefab of the player, which must be located in the Resources folder.

Network Manager component

Demo Player

The Target Controller component is used to move the target. It must be disabled on clients and leave control only to the server. To do this, use the Network Configurator component and disable the component on clients.

Network Configurator component

AI Entities

To properly configure network bots, you need to disable the Behaviour Runner and AI Perception components. They need to be run only on the server. To do this, use the Network Configurator component and disable these components on clients.

Setup AI via Network Configurator

AI Detection Signal

To synchronize the AI Detection Signal component, it is necessary to add the AIDetectionSignalSync component in the together.

AI Detection Signal Sync component

Last updated