Class Throw
Throws an exception.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitOrderAttribute]
public sealed class Throw : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
custom
Whether a custom exception object should be specified manually.
Declaration
[SerializeAttribute]
[InspectableAttribute]
[UnitHeaderInspectableAttribute]
[InspectorToggleLeftAttribute]
public bool custom { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
enter
The entry point to throw the exception.
Declaration
[DoNotSerializeAttribute]
public ControlInput enter { get; }
Property Value
| Type | Description |
|---|---|
| ControlInput |
exception
The exception to throw.
Declaration
[DoNotSerializeAttribute]
public ValueInput exception { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
message
The message of the exception.
Declaration
[DoNotSerializeAttribute]
public ValueInput message { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Implements
IDisposable