2014-03-23 11:27:06 -07:00
|
|
|
//
|
|
|
|
// settingsExample.js
|
2014-04-08 17:58:02 -07:00
|
|
|
// examples
|
2014-03-23 11:27:06 -07:00
|
|
|
//
|
|
|
|
// Created by Brad Hefta-Gaub on 3/22/14
|
2014-04-09 09:19:29 -07:00
|
|
|
// Copyright 2013 High Fidelity, Inc.
|
2014-03-23 11:27:06 -07:00
|
|
|
//
|
|
|
|
// This is an example script that demonstrates use of the Menu object
|
|
|
|
//
|
2014-04-08 18:00:24 -07:00
|
|
|
// Distributed under the Apache License, Version 2.0.
|
|
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
|
|
//
|
2014-03-23 11:27:06 -07:00
|
|
|
|
|
|
|
print("mySetting: " + Settings.getValue("mySetting"));
|
|
|
|
Settings.setValue("mySetting", "spam");
|
|
|
|
print("mySetting: " + Settings.getValue("mySetting"));
|
|
|
|
|
2015-01-06 22:32:45 -08:00
|
|
|
//Script.stop();
|