mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Disable starting of tutorial in tutorial.js
This commit is contained in:
parent
c09ddfdbb8
commit
571020ac7a
1 changed files with 22 additions and 22 deletions
|
@ -1145,25 +1145,25 @@ TutorialManager = function() {
|
|||
|
||||
// To run the tutorial:
|
||||
//
|
||||
var tutorialManager = new TutorialManager();
|
||||
tutorialManager.startTutorial();
|
||||
|
||||
|
||||
var keyReleaseHandler = function(event) {
|
||||
if (event.isShifted && event.isAlt) {
|
||||
print('here', event.text);
|
||||
if (event.text == "F12") {
|
||||
if (!tutorialManager.startNextStep()) {
|
||||
tutorialManager.startTutorial();
|
||||
}
|
||||
} else if (event.text == "F11") {
|
||||
tutorialManager.restartStep();
|
||||
} else if (event.text == "F10") {
|
||||
MyAvatar.shouldRenderLocally = !MyAvatar.shouldRenderLocally;
|
||||
} else if (event.text == "r") {
|
||||
tutorialManager.stopTutorial();
|
||||
tutorialManager.startTutorial();
|
||||
}
|
||||
}
|
||||
};
|
||||
Controller.keyReleaseEvent.connect(keyReleaseHandler);
|
||||
//var tutorialManager = new TutorialManager();
|
||||
//tutorialManager.startTutorial();
|
||||
//
|
||||
//
|
||||
//var keyReleaseHandler = function(event) {
|
||||
// if (event.isShifted && event.isAlt) {
|
||||
// print('here', event.text);
|
||||
// if (event.text == "F12") {
|
||||
// if (!tutorialManager.startNextStep()) {
|
||||
// tutorialManager.startTutorial();
|
||||
// }
|
||||
// } else if (event.text == "F11") {
|
||||
// tutorialManager.restartStep();
|
||||
// } else if (event.text == "F10") {
|
||||
// MyAvatar.shouldRenderLocally = !MyAvatar.shouldRenderLocally;
|
||||
// } else if (event.text == "r") {
|
||||
// tutorialManager.stopTutorial();
|
||||
// tutorialManager.startTutorial();
|
||||
// }
|
||||
// }
|
||||
//};
|
||||
//Controller.keyReleaseEvent.connect(keyReleaseHandler);
|
||||
|
|
Loading…
Reference in a new issue