Jungle Player
The JunglePlayer
is a component that can be added to a game object in the scene.
The component plays the given tree on start.
Overview
The JunglePlayer
provides the following functionalities:
- Automatically starts the given tree on start.
- Provides two useful Unity events for when the tree starts and stops.
How to Use
The player component can be added to any game object in a scene.
To add the component to a game object:
- Step 1: Select the game object in the hierarchy that you want to add the player component on.
- Step 2: At the bottom of the inspector panel, click 'Add Component'.
- Step 3: Navigate to
Jungle Sequencer/Jungle Player
and clickJungle Player
. - Step 4: Set the tree on the player component that you'd like it to play.