-
-
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.
Service framework update and misc updates (#122)
* Handle Unity 6 change * Define stubs for custom interaction behaviour inspectors * Add support for rotation lever going from positive into negative rotation * Introduce InteractorTrackingMode setting * Add all interaction components to custom AddComponent menu group * Update assembly infos and restore SF compat * Update SF to v1.0.7 * Update package.json with docs link * Working on new home for toolkit project settings * Fix ScriptableSettingsPath * Remopve legacy RealityToolkitEditorSettings * Load settings editor from UXML * Add input system dependency * Fix ISpatialAwarenessServiceModule base type * Kick rebuild * Removing "player" from build dependencies --------- Co-authored-by: SimonDarksideJ <[email protected]>
- Loading branch information
1 parent
5048b93
commit b83b5b2
Showing
203 changed files
with
1,599 additions
and
690 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
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
// Copyright (c) Reality Collective. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
#define REALITYTOOLKIT_EDITOR | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("1.0.0")] | ||
[assembly: AssemblyTitle("com.realitytoolkit.core.editor")] | ||
[assembly: AssemblyCompany("RealityCollective")] | ||
[assembly: AssemblyCompany("Reality Collective")] | ||
[assembly: AssemblyCopyright("Copyright (c) Reality Collective. All rights reserved.")] |
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
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
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
5 changes: 3 additions & 2 deletions
5
Editor/BuildPipeline/RealityToolkit.Editor.BuildPipeline.asmdef
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
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
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
4 changes: 2 additions & 2 deletions
4
Editor/Data/Controllers/Hands/HandControllerPoseProfileInspector.cs
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
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,55 @@ | ||
// Copyright (c) Reality Collective. All rights reserved. | ||
// Licensed under the MIT License. See LICENSE in the project root for license information. | ||
|
||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace RealityToolkit.Editor | ||
{ | ||
public static class EditorAssemblyReloadManager | ||
{ | ||
private static bool locked = false; | ||
|
||
/// <summary> | ||
/// Locks the Editor's ability to reload assemblies.<para/> | ||
/// </summary> | ||
/// <remarks> | ||
/// This is useful for ensuring async tasks complete in the editor without having to worry if any script | ||
/// changes that happen during the running task will cancel it when the editor re-compiles the assemblies. | ||
/// </remarks> | ||
public static bool LockReloadAssemblies | ||
{ | ||
set | ||
{ | ||
locked = value; | ||
|
||
if (locked) | ||
{ | ||
EditorApplication.LockReloadAssemblies(); | ||
|
||
if (!Application.isBatchMode) | ||
{ | ||
EditorWindow.focusedWindow.ShowNotification(new GUIContent("Assembly reloading temporarily paused.")); | ||
} | ||
} | ||
else | ||
{ | ||
EditorApplication.UnlockReloadAssemblies(); | ||
EditorApplication.delayCall += () => | ||
{ | ||
if (!EditorApplication.isUpdating) | ||
{ | ||
AssetDatabase.Refresh(ImportAssetOptions.ForceUpdate); | ||
} | ||
}; | ||
|
||
if (!Application.isBatchMode) | ||
{ | ||
EditorWindow.focusedWindow.ShowNotification(new GUIContent("Assembly reloading resumed.")); | ||
} | ||
} | ||
} | ||
get => locked; | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
Editor/Utilities/GitUtilities.cs.meta → Editor/EditorAssemblyReloadManager.cs.meta
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
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
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
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.