AssociativeArrayAccessor.access

Get a property out of component

class AssociativeArrayAccessor(ComponentType : Type[Key], Type, Key)
const
Type
access
(
ComponentType component
,
in Key property
,
RCIAllocator allocator = theAllocator
)

Parameters

component ComponentType

a component which has some properties identified by property.

Return Value

Type: Type

FieldType accessed property.

Throws

NotFoundException in case when no requested property is available. InvalidArgumentException in case when passed arguments are somehow invalid for use.

Meta