Next: , Previous: , Up: Interaction.Output   [Contents][Index]


9.2.10 Scene Transition

Component: SceneTransition

This component implements single-player scene changes. Not suitable for multiplayer.

To use this component, first you need a scene you want to change to saved and added to File -> Build Settings -> Add Current (to add a new scene, you must change to it first). Next, type it’s exact name into ’Target Scene’ and you’re all set. This component receives the ’ChangeScene’ message to activate it.

Field of SceneTransition: bool changeOnStart

Change the scene as soon as this object is created?

Default value: false

Optional Field of SceneTransition: float timeDelay

Optional delay for mission change

Default value: 0.0f

Message on SceneTransition: ChangeScene ()

Go to the ’Target Scene’

Field of SceneTransition: bool changeOnStart

Change the scene as soon as this object is created?

Default value: false

Optional Field of SceneTransition: float timeDelay

Optional delay for mission change

Default value: 0.0f

Message on SceneTransition: ChangeScene ()

Go to the ’Target Scene’