Switch Component

Overview

The switch component selects which child component to trigger from an option that is set by the game. The option is always the name of the component that is required to trigger.

Inspector Elements

Properties

Description

Start On Switch

Starts the component playing when a switch occurs.

Switch Type

The switch types available:

-          SwitchOnPlay

-          SwitchOnEnd

-          SwitchOnSwitch

-          SwitchOnMusicSync

o   The switch will occur according to the transition type set in the music settings selected

Scope

Select between local and global scope

Runtime Switch

Select the Runtime Switch to be used for this switch component

Assignments

Assign the child components to specific switches

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.