Entity::data: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
entity.data.foo = bar; | entity.data.foo = bar; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 20:25, 4 February 2018
This property is used to get or set entity data.
Note: Changing this function property has the same effect as Entity::setVariable.
Getter
- any
Setter
- any
Example
entity.data.foo = bar;