mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
20 lines
480 B
JavaScript
20 lines
480 B
JavaScript
var PARTICLE_EXPLORER_HTML_URL = Script.resolvePath('particleExplorer.html');
|
|
|
|
ParticleExplorerTool = function() {
|
|
var that = {};
|
|
|
|
var url = PARTICLE_EXPLORER_HTML_URL;
|
|
var webView = new OverlayWebWindow({
|
|
title: 'Particle Explorer', source: url, toolWindow: true
|
|
});
|
|
|
|
var visible = false;
|
|
webView.setVisible(visible);
|
|
|
|
that.setVisible = function(newVisible) {
|
|
visible = newVisible;
|
|
webView.setVisible(visible);
|
|
}
|
|
|
|
|
|
};
|