-
-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Examples): ensure constructor scene is available in build settings
Previously, the constructor scene was removed from being injected into the example scenes as it wasn't working in a build, instead the constructor scene was required to be the last scene in the build settings and was loaded in by index. This only worked if using the project settings from the VRTK repo but would not work if VRTK was imported into another project. To remedy this, the scene injection is now being used again and the last scene index is being used as a fallback. If no scene is in the build settings then the script will attempt to add it as the last scene automatically.
- Loading branch information
1 parent
d481b95
commit 7975664
Showing
1 changed file
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters