Class HasGraphTests<TUnit, TGraph, TGraphAsset, TMachine>
Inheritance
object
HasGraphTests<TUnit, TGraph, TGraphAsset, TMachine>
Assembly: solution.dll
Syntax
public abstract class HasGraphTests<TUnit, TGraph, TGraphAsset, TMachine> : BaseGraphExecutionTests where TUnit : HasGraph<TGraph, TGraphAsset, TMachine>, new() where TGraph : class, IGraph, new() where TGraphAsset : Macro<TGraph> where TMachine : Machine<TGraph, TGraphAsset>
Type Parameters
| Name |
Description |
| TUnit |
|
| TGraph |
|
| TGraphAsset |
|
| TMachine |
|
Methods
AddHasGraphUnit(FlowGraph, bool)
Declaration
protected abstract TUnit AddHasGraphUnit(FlowGraph graph, bool fromGameObject)
Parameters
Returns
TestHasGraph(bool)
Declaration
public void TestHasGraph(bool fromGameObject)
Parameters
| Type |
Name |
Description |
| bool |
fromGameObject |
|
TestHasGraphDataNode(bool, bool)
Declaration
public void TestHasGraphDataNode(bool fromGameObject, bool hasGraph)
Parameters
| Type |
Name |
Description |
| bool |
fromGameObject |
|
| bool |
hasGraph |
|
TestHasGraphWithDifferentGraph(bool)
Declaration
public void TestHasGraphWithDifferentGraph(bool fromGameObject)
Parameters
| Type |
Name |
Description |
| bool |
fromGameObject |
|
TestHasGraphWithNoGraph(bool)
Declaration
public void TestHasGraphWithNoGraph(bool fromGameObject)
Parameters
| Type |
Name |
Description |
| bool |
fromGameObject |
|
Extension Methods