Class IsVariableDefinedUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitShortTitle("Is Variable Defined")]
public abstract class IsVariableDefinedUnit : VariableUnit, IVariableUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Constructors
IsVariableDefinedUnit()
Declaration
protected IsVariableDefinedUnit()
IsVariableDefinedUnit(String)
Declaration
protected IsVariableDefinedUnit(string defaultName)
Parameters
| Type | Name | Description |
|---|---|---|
| String | defaultName |
Properties
isDefined
Whether the variable is defined.
Declaration
[DoNotSerialize]
[PortLabel("Defined")]
public ValueOutput isDefined { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
IsDefined(Flow)
Declaration
protected virtual bool IsDefined(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| Boolean |