phaser/v3/src/actions/SetVisible.js

12 lines
184 B
JavaScript
Raw Normal View History

var SetVisible = function (items, value)
{
for (var i = 0; i < items.length; i++)
{
items[i].visible = value;
}
return items;
};
module.exports = SetVisible;