Class Assignment
Class Assignment.
Inherited Members
Namespace: UnityEngine.Industrial.Configuring.Core
Syntax
[Serializable]
public abstract class Assignment : MonoBehaviour
Properties
defaultTargetQueryNodeType
Default target query for this assignment.
Declaration
public abstract Type defaultTargetQueryNodeType { get; }
Property Value
Type | Description |
---|---|
Type | The default type of the target query node. |
defaultValueQueryNodeType
Default value query for this assignment.
Declaration
public abstract Type defaultValueQueryNodeType { get; }
Property Value
Type | Description |
---|---|
Type | The default type of the value query node. |
targetDeferredQuery
Gets the target deferred query.
Declaration
public abstract DeferredQuery targetDeferredQuery { get; }
Property Value
Type | Description |
---|---|
DeferredQuery | The target deferred query. |
targetQueryNode
Gets the target query node.
Declaration
public abstract QueryNode targetQueryNode { get; }
Property Value
Type | Description |
---|---|
QueryNode | The target query node. |
targetQueryNodeType
Returns the type of the current target query node.
Declaration
public abstract Type targetQueryNodeType { get; }
Property Value
Type | Description |
---|---|
Type | The type of the target query node. |
valueDeferredQuery
Gets the value deferred query.
Declaration
public abstract DeferredQuery valueDeferredQuery { get; }
Property Value
Type | Description |
---|---|
DeferredQuery | The value deferred query. |
valueQueryNode
Gets the value query node.
Declaration
public abstract QueryNode valueQueryNode { get; }
Property Value
Type | Description |
---|---|
QueryNode | The value query node. |
valueQueryNodeType
Returns the type of the current value query node.
Declaration
public abstract Type valueQueryNodeType { get; }
Property Value
Type | Description |
---|---|
Type | The type of the value query node. |
Methods
AddDefaultQueries()
Add Default Queries to the Assignment
Declaration
public void AddDefaultQueries()
AddDefaultTargetQuery()
Add DefaultTargetQuery to the Assignment
Declaration
public abstract void AddDefaultTargetQuery()
AddDefaultValueQuery()
Add DefaultValueQuery to the Assignment
Declaration
public abstract void AddDefaultValueQuery()
Apply()
Applies this instance.
Declaration
public abstract void Apply()
Invert(Variant)
Inverts the specified variant.
Declaration
public abstract void Invert(Variant variant)
Parameters
Type | Name | Description |
---|---|---|
Variant | variant | The variant. |
RemoveQueries()
Remove target and value query This automatically adds the DefaultQueries because an assignment can not work without the queries
Declaration
public virtual void RemoveQueries()
RemoveTargetQuery()
Remove the TargetQuery from the Assignment
Declaration
public abstract void RemoveTargetQuery()
RemoveValueQuery()
Remove the TargetQuery from the Assignment
Declaration
public abstract void RemoveValueQuery()