Class SystemComponentManager
SystemComponentManager is in charge of bindings and properties attached as components to SystemGraphComponent
Namespace: Global Namespace
Syntax
public class SystemComponentManager
Constructors
SystemComponentManager(SystemGraphComponent)
Initializes a new instance of the SystemComponentManager class.
Declaration
public SystemComponentManager(SystemGraphComponent graphComponent)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemGraphComponent | graphComponent | The graph component. |
Properties
MapComponent
Gets the map component.
Declaration
public Dictionary<string, IComponentAttachment> MapComponent { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<String, IComponentAttachment> | The map of component attachments. |
Methods
AddPendingBindings()
Adds the pending bindings.
Declaration
public void AddPendingBindings()
AddPendingComponents()
Adds the pending components.
Declaration
public void AddPendingComponents()
AddPendingProperties()
Adds the pending properties.
Declaration
public void AddPendingProperties()
DestroyPendingComponents()
Destroys the pending components.
Declaration
public void DestroyPendingComponents()
GetComponentAttachment(String)
Gets the component attachment for the provided component key
Declaration
public IComponentAttachment GetComponentAttachment(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| String | key | Component Key to find |
Returns
| Type | Description |
|---|---|
| IComponentAttachment | IComponentAttachment. |
KeyForParameter(SerializedParameter)
Returns the component key from a parameter struct
Declaration
public string KeyForParameter(SerializedParameter param)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedParameter | param | The parameter to retrieve |
Returns
| Type | Description |
|---|---|
| String | Component Key |