Visual Scripting
The entries below are copied from the package definitions. Use the child pages to browse them by type.
Instructions
Run Block (InstructionLogicBlockRun)
- Title: Run Block
- Description: Runs an Instruction Block, or an Instructions list of a LogicBlock, giving a value to each of its parameters. Every call runs separately, so the same Block can run many times at once
- Category: LogicBlock/Run Block
- Parameters:
Block- The Instruction Block or LogicBlock list to runSource- The game object used as Source inside the BlockTarget- The game object used as Target inside the BlockWait To Complete- Whether to wait for the Block to finish before running the next instructionParameters- The value passed to each parameter of the Block- Keywords:
Logic,Block,Run,Execute,Call,Function,Reuse,Shared - Source:
LogicBlock2/Runtime/Instructions/InstructionLogicBlockRun.cs
Stop Block (InstructionLogicBlockStop)
- Title: Stop Block
- Description: Stops a running Instruction Block or LogicBlock list, either the calls made with one Source or every call
- Category: LogicBlock/Stop Block
- Parameters:
Block- The Instruction Block or LogicBlock list to stop. Choose 'All Lists' to stop every list of a LogicBlockStop- Only the calls whose Source is the given game object, or every running callSource- The Source the calls were started with- Keywords:
Logic,Block,Stop,Cancel,Abort,Interrupt,Halt - Source:
LogicBlock2/Runtime/Instructions/InstructionLogicBlockStop.cs
Conditions
Check Block (ConditionLogicBlockCheck)
- Title: Check Block
- Description: Checks a Condition Block, or a Conditions list of a LogicBlock, giving a value to each of its parameters
- Category: LogicBlock/Check Block
- Parameters:
Block- The Condition Block or LogicBlock list to checkSource- The game object used as Source inside the BlockTarget- The game object used as Target inside the BlockParameters- The value passed to each parameter of the Block- Keywords:
Logic,Block,Check,Condition,Evaluate,Test,Function,Reuse - Source:
LogicBlock2/Runtime/Conditions/ConditionLogicBlockCheck.cs
Is Block Running (ConditionLogicBlockIsRunning)
- Title: Is Block Running
- Description: True while an Instruction Block or LogicBlock list has a running call. Use it to skip a Run Block while the same Block is already running
- Category: LogicBlock/Is Block Running
- Parameters:
Block- The Instruction Block or LogicBlock list. Choose 'All Lists' to check every list of a LogicBlockCalls- Only calls started with the given Source, or calls started by anyoneSource- The Source the calls were started with- Keywords:
Logic,Block,Running,Busy,Active,Playing,Once - Source:
LogicBlock2/Runtime/Conditions/ConditionLogicBlockIsRunning.cs
Properties
Get properties
Check Block (TypeBoolLogicBlockCheck)
- Title: Check Block
- Description: True if a Condition Block, or a Conditions list of a LogicBlock, passes. Lets a Block be used as a Bool value anywhere
- Category: LogicBlock/Check Block
- Type: Bool
- Parameters:
Block- The Condition Block or LogicBlock list to checkSource- The game object used as Source inside the BlockTarget- The game object used as Target inside the BlockParameters- The value passed to each parameter of the Block- Keywords:
Logic,Block,Check,Condition,Evaluate,Bool,Function - Source:
LogicBlock2/Runtime/Signals/TypeBoolLogicBlockCheck.cs
Block Parameter (ParameterGetter__<Type>)
- Title: Block Parameter
- Description: A value passed to this Block by the instruction or condition that runs it
- Category: Parameters/Block Parameter
- Type: Every parameter type (Number, Bool, Color, Game Object and so on)
- Parameters:
Parameter- The Block parameter to read. Only parameters the field can read are listed- Keywords:
Block,Parameter,Argument,Input,Logic,Function - Source:
Assets/Plugins/LogicBlock2/Generated Parameters/<Type source>.Getter.cs(generated byLogicBlock2/Editor/Generator/ParameterCodeWriter.cs)