Skip to content
This repository was archived by the owner on May 25, 2018. It is now read-only.

Commit 6b5a723

Browse files
author
VIVE development area
committed
Rich the menu
1 parent 3c5fcc3 commit 6b5a723

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Assets/Scripts/ViewController.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ void Start () {
7272
FileManager.fileBrowserCallback = createView;
7373
FileManager.fileBrowserStatus = FileManager.FileBrowserStatus.File;
7474
});
75+
MenuController.addBtn("Toggle View Management", () => {
76+
isInUI = !isInUI;
77+
});
78+
MenuController.addBtn("Toggle View Editing", () => {
79+
if (isInUI)
80+
isEditing = !isEditing;
81+
});
7582
}
7683

7784
// Update is called once per frame

0 commit comments

Comments
 (0)