Here you can setup the stages in your game. Coming soon: Interactables
Stage Prefab/Stage Music
Stages\Stage.prefabif the file is located under
.Resources\Stages\Stage.prefab. The Resources Folder can be placed anywhere in your project (there is one located under
Stage Prefab (Legacy): A prefab containing your stage model.
Stage/Music Resource Path: Write the path of the file beginning from the Resources folder.
Stage Name: The name of this stage.
Music: A song that will be played during the game when this stage is selected.
Left Boundary: How far to the left the characters can walk to.
Right Boundary: How far to the right the characters can walk to.
Ground Friction: How “slippery” the ground is. The smaller the value, the more slippery it is.
Screenshot: A screenshot of this stage.
Note: Your stage prefab must have a plane mesh under the layer “Ground”. Check the Training Room prefab example.
Camera.main.audio.clip = UFE.config.selectedStage.music;