From ebeca9f3db490e99577a2ae3cdef16cd47031557 Mon Sep 17 00:00:00 2001 From: Kevin Ngo Date: Fri, 16 Nov 2018 01:32:49 -0800 Subject: [PATCH] tutorial close --- src/state/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/state/index.js b/src/state/index.js index 2835614..a21f309 100644 --- a/src/state/index.js +++ b/src/state/index.js @@ -378,6 +378,11 @@ AFRAME.registerState({ state.isSongLoading = true; }, + tutorialclose: (state) => { + state.menuActive = true; + state.tutorialActive = false; + }, + tutorialopen: (state) => { state.menuActive = false; state.tutorialActive = true;