Introduction Installing & Updating Launching Basic Concepts [11] Editor Interface Variables Property Function Constructor Flow Nodes Value Nodes State Graph Macros Flow Graph Graph Kinds Beginners Guide [1] Creating a Hello, World! uNode Component [7] Class Component Class Asset C# Class C# Struct uNodeRuntime uNodeSpawner Graph Interface Nodes [41] Action Validation State FlowControl If SetValue Switch Throw YieldReturn Selector RandomSelector Sequence RandomSequence Inverter Repeater UntilFailure UntilSuccess NodeGroup DoWhileLoop ForEachLoop ForNumberLoop WhileLoop WaitForSecond WaitUntil WaitWhile Continue Break Return MakeArray StringBuilder Condition Increment/Decrement AS / Convert AND NOT OR Arithmetic Bitwise Comparison Shift Negate Actions [8] BitwiseOperator ChangeType CompareOperator GetValue SetValue ShiftOperator TypeAs TypeConverter Validations [5] EqualityComparer IsComparer MethodValidation ObjectComparison Using Level Condition Creating Custom Nodes Compiling Graphs Parsing Script Debugging Preference Tips & Tricks Home / Documentation / uNode Manual / Nodes / Return Return The Return node terminates execution of the function in which it appears and returns control to the calling function. It can also return an optional value. If the function is a void type, the return statement can be omitted. Doc navigation < Break MakeArray > Was this helpful to you? Yes No