推出 Meta 帐户:创建 Meta 帐户,轻松登录 VR 设备。 详细了解

ELSE

Will run codeblocks when the first if is false.

Appearance in Composition Pane
Description

Placed directly below an if, will run indented codeblocks if the first if is false. Can also be placed under an else if.

PREREQUISITE READING

ELSE IF precedes this tutorial


Example 1: Turn on and off a lightbulb

When a player enters a trigger, a light bulb is switched off and on.

Next Up