-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from BeamXR-io/develop
Initial release
- Loading branch information
Showing
208 changed files
with
33,381 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "BeamXR.Director.Editor", | ||
"rootNamespace": "", | ||
"references": [ | ||
"GUID:3c5927d4c695b684b9bccbf0bdf5712d", | ||
"GUID:1fa272d591462e6458d1bfcc17595ab8", | ||
"GUID:a5fb8e2034cbd9242aecd01d82fe04e6" | ||
], | ||
"includePlatforms": [ | ||
"Editor" | ||
], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEditor; | ||
using UnityEngine; | ||
using BeamXR.Director.Camera; | ||
using BeamXR.Streaming.Editor; | ||
|
||
namespace BeamXR.Director.Editor | ||
{ | ||
public class DirectorPrefabMenu : MonoBehaviour | ||
{ | ||
[MenuItem("BeamXR/Prefabs/Director/Add Control Panel", priority = 2)] | ||
private static void AddControlPanel() | ||
{ | ||
PrefabAddStreamingPrefab.SpawnPrefab("BeamXR Control Panel", FindFirstObjectByType<ControlPanel.BeamControlPanel>(FindObjectsInactive.Include), PrefabAddStreamingPrefab.GetParentObject().transform); | ||
} | ||
|
||
[MenuItem("BeamXR/Prefabs/Director/Add Hand Menu", priority = 3)] | ||
private static void AddHandMenu() | ||
{ | ||
PrefabAddStreamingPrefab.SpawnPrefab("BeamXR Hand Menu", GameObject.Find("BeamXR Hand Menu"), PrefabAddStreamingPrefab.GetParentObject().transform); | ||
} | ||
|
||
[MenuItem("BeamXR/Prefabs/Director/Add Camera Model", priority = 4)] | ||
private static void AddCameraModel() | ||
{ | ||
PrefabAddStreamingPrefab.SpawnPrefab("BeamXR Camera Model", FindFirstObjectByType<CameraModelController>(FindObjectsInactive.Include), PrefabAddStreamingPrefab.GetParentObject().transform); | ||
} | ||
} | ||
} |
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.