mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
27 lines
791 B
XML
27 lines
791 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="VisualScriptSwitch" inherits="VisualScriptNode" category="Core" version="3.0-rc1">
|
|
<brief_description>
|
|
Branches program flow based on a given input's value.
|
|
</brief_description>
|
|
<description>
|
|
Branches the flow based on an input's value. Use "Case Count" in the Inspector to set the number of branches and each comparison's optional type.
|
|
[b]Input Ports:[/b]
|
|
- Sequence: [code]'input' is[/code]
|
|
- Data (variant): [code]=[/code]
|
|
- Data (variant): [code]=[/code] (optional)
|
|
- Data (variant): [code]input[/code]
|
|
[b]Output Ports:[/b]
|
|
- Sequence
|
|
- Sequence (optional)
|
|
- Sequence: [code]done[/code]
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
</methods>
|
|
<constants>
|
|
</constants>
|
|
</class>
|