Entity.get

Get a component

class Entity
@safe pure
C
get
()
()

Return Value

Type: C

Same type if it exists Null otherwise

Examples

e.get!Foo

Meta