-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
saarg
committed
Jan 26, 2018
1 parent
b4cb0bd
commit dce1d49
Showing
23 changed files
with
3,587 additions
and
47,302 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Assets/Imports/Battlehub/MeshDeformer2/DemoPackage.unitypackage.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
Assets/Imports/VRTK/Examples/ExampleResources/Models/hexprism.obj.meta
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
Assets/Imports/VRTK/Examples/ExampleResources/Models/lightring.obj.meta
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
Assets/Imports/VRTK/Examples/ExampleResources/Models/lightseg.obj.meta
This file was deleted.
Oops, something went wrong.
83 changes: 0 additions & 83 deletions
83
Assets/Imports/VRTK/Examples/ExampleResources/Models/teleportbeam.obj.meta
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using UnityEngine.SceneManagement; | ||
|
||
public class AdditiveSceneLoader : MonoBehaviour { | ||
|
||
public string[] scenes; | ||
|
||
// Use this for initialization | ||
void Start () { | ||
foreach (string s in scenes) | ||
{ | ||
if (SceneManager.GetSceneByName(s).isLoaded == false) | ||
SceneManager.LoadSceneAsync(s, LoadSceneMode.Additive); | ||
else | ||
Debug.Log("Scene " + s + " already loaded"); | ||
} | ||
|
||
Destroy(gameObject); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.