Entity.modify

Modify

Updates the data of a component

class Entity
@safe pure
C
modify
()
(
AliasSeq!(Fields!C) args
)

Examples

e.moodify!Foo(ctor values...);

e.add(new Foo(3)); e.modify!Foo(5);

Meta