Class XGraphContextProvider
Namespace: Unity.VisualScripting
Syntax
public static class XGraphContextProvider
Methods
Context(GraphReference)
Declaration
public static IGraphContext Context(this GraphReference reference)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphReference | reference |
Returns
| Type | Description |
|---|---|
| IGraphContext |
Context<T>(GraphReference)
Declaration
public static T Context<T>(this GraphReference reference)
where T : IGraphContext
Parameters
| Type | Name | Description |
|---|---|---|
| GraphReference | reference |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T |