silver-fang-mini-game/node_modules/phaser/plugins/camera3d/copy-to-examples.js
2024-10-27 19:54:14 +02:00

14 lines
311 B
JavaScript

var fs = require('fs-extra');
var source = './plugins/camera3d/dist/';
var dest = '../phaser3-examples/public/plugins/';
if (fs.existsSync(dest))
{
fs.copySync(source, dest, { overwrite: true });
}
else
{
console.log('Copy-to-Examples failed: Phaser 3 Examples not present at ../phaser3-examples');
}