2015-12-16 01:31:24 -08:00
|
|
|
//
|
|
|
|
// lightLoader.js
|
|
|
|
//
|
|
|
|
// Created by James Pollack @imgntn on 12/15/2015
|
|
|
|
// Copyright 2015 High Fidelity, Inc.
|
|
|
|
//
|
|
|
|
// Loads a test scene showing sliders that you can grab and move to change entity properties.
|
|
|
|
//
|
|
|
|
// Distributed under the Apache License, Version 2.0.
|
|
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
|
|
//
|
|
|
|
|
2015-12-17 10:58:14 -08:00
|
|
|
var grabScript = Script.resolvePath('../controllers/handControllerGrab.js?' + Math.random(0 - 100));
|
2015-12-16 01:31:24 -08:00
|
|
|
Script.load(grabScript);
|
2015-12-17 10:58:14 -08:00
|
|
|
var lightModifier = Script.resolvePath('lightModifier.js?' + Math.random(0 - 100));
|
2015-12-16 01:31:24 -08:00
|
|
|
Script.load(lightModifier);
|
|
|
|
Script.setTimeout(function() {
|
2015-12-17 10:58:14 -08:00
|
|
|
var lightModifierTestScene = Script.resolvePath('lightModifierTestScene.js?' + Math.random(0 - 100));
|
2015-12-16 01:31:24 -08:00
|
|
|
Script.load(lightModifierTestScene);
|
|
|
|
}, 750)
|