mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-05 07:32:57 +02:00
19 lines
577 B
JavaScript
19 lines
577 B
JavaScript
(function() {
|
|
Script.include('utils.js');
|
|
|
|
var Fuse = function() {
|
|
};
|
|
Fuse.prototype = {
|
|
onLit: function() {
|
|
print("fuseCollider.js | Lit", this.entityID);
|
|
//var fuseID = Utils.findEntity({ name: "tutorial/equip/fuse" }, 20);
|
|
var fuseID = "{c8944a13-9acb-4d77-b1ee-851845e98357}"
|
|
Entities.callEntityMethod(fuseID, "light");
|
|
},
|
|
preload: function(entityID) {
|
|
print("fuseCollider.js | preload");
|
|
this.entityID = entityID;
|
|
},
|
|
};
|
|
return new Fuse();
|
|
});
|