History

More Script updates

More Script updates

Chris Collins committed 11 years ago

Commit 816e3691 parent 3ed5b0e68 files · +151 −894Browse files

Showing the changes to examples/example/scripts/includeExample.js (1 of 68 files). Show all

Unified · Split

examples/example/scripts/includeExample.js+19−0
@@ -0,0 +1,19 @@
1+//
2+// includeExample.js
3+// examples
4+//
5+// Created by Brad Hefta-Gaub on 3/24/14
6+// Copyright 2013 High Fidelity, Inc.
7+//
8+// This is an example script that demonstrates use of the Script.include() feature
9+//
10+// Distributed under the Apache License, Version 2.0.
11+// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
12+//
13+
14+// You can include scripts from URLs
15+Script.include("http://public.highfidelity.io/scripts/lookWithTouch.js");
16+
17+// You can also include scripts that are relative to the current script
18+//Script.include("../../editEntities.js");
19+//Script.include("../../examples/selectAudioDevice.js");