Graphics#data

data : Object

An empty Object that belongs to this Game Object.
This value isn't ever used internally by Phaser, but may be used by your own code, or
by Phaser Plugins, to store data that needs to be associated with the Game Object,
without polluting the Game Object directly.

Inherited From
Default Value
  • {}
Source code: gameobjects/components/Core.js (Line 160)
doc_phaser
2017-02-14 10:49:47
Comments
Leave a Comment

Please login to continue.