 | InspectorUtilsInitFromAttributeTable Method (EntityManager, Object, IAttributeTable) |
Initializes an object by getting its inspector properties via reflection and
look them up in the specified attribute table.
Namespace: Slash.ECS.Inspector.UtilsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic static void InitFromAttributeTable(
EntityManager entityManager,
Object obj,
IAttributeTable attributeTable
)
Public Shared Sub InitFromAttributeTable (
entityManager As EntityManager,
obj As Object,
attributeTable As IAttributeTable
)
public:
static void InitFromAttributeTable(
EntityManager^ entityManager,
Object^ obj,
IAttributeTable^ attributeTable
)
static member InitFromAttributeTable :
entityManager : EntityManager *
obj : Object *
attributeTable : IAttributeTable -> unit
Parameters
- entityManager
- Type: Slash.ECS.ComponentsEntityManager
Entity manager to use for initializing the object, e.g. for creating entities from entity
configuration attributes.
- obj
- Type: SystemObject
Object to initialize. - attributeTable
- Type: Slash.Collections.AttributeTablesIAttributeTable
Attribute table to initialize from.
See Also