Takes an array of Game Objects and toggles the visibility of each one.
Those previously visible = false
will become visible = true
, and vice versa.
name | type | description |
---|---|---|
items | array | Array.<Phaser.GameObjects.GameObject> |
An array of Game Objects. The contents of this array are updated by this Action. |
The array of Game Objects that was passed to this Action.