User Tools

Site Tools


global:stages

This is an old revision of the document!


Stage Options

Here you can setup the stages in your game. Coming soon: Interactables

Stage Prefab: A prefab containing your stage model. Note: Your stage must have a plane mesh under the layer “Ground”. Check the TrainingRoom prefab example.

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.


Code access:

UFE.config.selectedStage

UFE.config.stages

Code example:

Camera.main.audio.clip = UFE.config.selectedStage.music;

< Back to Global Editor

global/stages.1398756573.txt.gz · Last modified: 2014/04/29 03:29 by Mistermind