Entity::data
This property is used to get or set entity data.
Note: Changing this property has the same effect as using entity.setVariable function.
Property Type(s)
- Getter
- Setter
Example(s)
Server-Side
The code below is an example about how to set a entity data by directly manipulating its "data" attribute.
entity.data.foo = bar;