aboutsummaryrefslogtreecommitdiff
path: root/doc/classes/VisualScriptSwitch.xml
diff options
context:
space:
mode:
authorChris Bradfield2017-10-14 20:11:00 -0700
committerChris Bradfield2017-10-15 08:59:38 -0700
commit6172f09703847aeac556abf2fca5169e73d22f97 (patch)
tree93b7fe8c4e1f84f7cc35081011d85f7ad8de0e13 /doc/classes/VisualScriptSwitch.xml
parentb005c5fcec2a1bb6d0ed4ae9637012b3f15ac837 (diff)
downloadgodot-6172f09703847aeac556abf2fca5169e73d22f97.tar.gz
godot-6172f09703847aeac556abf2fca5169e73d22f97.tar.zst
godot-6172f09703847aeac556abf2fca5169e73d22f97.zip
[DOCS] Update 12 VisualScript* nodes
Diffstat (limited to '')
-rw-r--r--doc/classes/VisualScriptSwitch.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/VisualScriptSwitch.xml b/doc/classes/VisualScriptSwitch.xml
index 95ed73737..2540ae54c 100644
--- a/doc/classes/VisualScriptSwitch.xml
+++ b/doc/classes/VisualScriptSwitch.xml
@@ -1,8 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="VisualScriptSwitch" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
<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>