Class NullCheck
Branches flow depending on whether the input is null.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Nulls")]
[TypeIcon(typeof(Null))]
public sealed class NullCheck : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
enter
The entry point for the null check.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
ifNotNull
The action to execute if the input is not null.
Declaration
[DoNotSerialize]
[PortLabel("Not Null")]
public ControlOutput ifNotNull { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
ifNull
The action to execute if the input is null.
Declaration
[DoNotSerialize]
[PortLabel("Null")]
public ControlOutput ifNull { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
input
The input.
Declaration
[DoNotSerialize]
public ValueInput input { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Enter(Flow)
Declaration
public ControlOutput Enter(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
ControlOutput |