Class XUnitOptionProvider
Namespace: Unity.VisualScripting
Syntax
public static class XUnitOptionProvider
Methods
Option(IUnit)
Declaration
public static IUnitOption Option(this IUnit unit)
Parameters
Type | Name | Description |
---|---|---|
IUnit | unit |
Returns
Type | Description |
---|---|
IUnitOption |
Option<TOption>(IUnit)
Declaration
public static IUnitOption Option<TOption>(this IUnit unit)
where TOption : IUnitOption
Parameters
Type | Name | Description |
---|---|---|
IUnit | unit |
Returns
Type | Description |
---|---|
IUnitOption |
Type Parameters
Name | Description |
---|---|
TOption |