Class And
Returns true if both inputs are true.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitOrderAttribute]
public sealed class And : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
a
The first boolean.
Declaration
[DoNotSerializeAttribute]
public ValueInput a { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
b
The second boolean.
Declaration
[DoNotSerializeAttribute]
public ValueInput b { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
result
True if A and B are both true; false otherwise.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueOutput result { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(Flow)
Declaration
public bool Operation(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| bool |
Implements
IDisposable