We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0042124 commit cd0a27aCopy full SHA for cd0a27a
1 file changed
src/gameobjects/GameObject.js
@@ -36,12 +36,15 @@ var GameObject = new Class({
36
EventEmitter.call(this);
37
38
/**
39
- * The Scene to which this Game Object belongs.
+ * A reference to the Scene to which this Game Object belongs.
40
+ *
41
* Game Objects can only belong to one Scene.
42
*
43
+ * You should consider this property as being read-only. You cannot move a
44
+ * Game Object to another Scene by simply changing it.
45
46
* @name Phaser.GameObjects.GameObject#scene
47
* @type {Phaser.Scene}
- * @protected
48
* @since 3.0.0
49
*/
50
this.scene = scene;
0 commit comments