mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 06:53:46 +02:00
Update lightSwitchHall.js
fix header file
This commit is contained in:
parent
cfb9728fdb
commit
6523a057a8
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
|||
//
|
||||
// detectGrabExample.js
|
||||
// lightSwitchHall.js
|
||||
// examples/entityScripts
|
||||
//
|
||||
// Created by Eric Levin on 9/21/15.
|
||||
// Copyright 2015 High Fidelity, Inc.
|
||||
//
|
||||
// This is an example of an entity script which when assigned to an entity, will detect when the entity is being grabbed by the hydraGrab script
|
||||
//
|
||||
// Distributed under the Apache License, Version 2.0.
|
||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
|
@ -25,7 +24,6 @@
|
|||
this.resetKey = "resetMe";
|
||||
|
||||
this.switchSound = SoundCache.getSound("https://hifi-public.s3.amazonaws.com/sounds/Switches%20and%20sliders/lamp_switch_2.wav");
|
||||
|
||||
};
|
||||
|
||||
LightSwitchHall.prototype = {
|
||||
|
@ -178,4 +176,4 @@
|
|||
|
||||
// entity scripts always need to return a newly constructed object of our type
|
||||
return new LightSwitchHall();
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue