diff --git a/Editor/Settings/RealityToolkitEditorSettings.cs b/Editor/Settings/RealityToolkitEditorSettings.cs index c71ed063..edfa0ee4 100644 --- a/Editor/Settings/RealityToolkitEditorSettings.cs +++ b/Editor/Settings/RealityToolkitEditorSettings.cs @@ -18,7 +18,7 @@ public class RealityToolkitEditorSettings : EditorScriptableSettings public const string AssetPath = "Assets/RealityToolkit/Settings"; - private const string defaultAssetImportPath = "Assets/RealityToolkit.Generated/"; + private const string defaultAssetImportPath = "Assets/RealityToolkit/"; [SerializeField, Tooltip("This is the path default toolkit assets will be imported to, to make them mutable.")] private string assetImportPath = defaultAssetImportPath; @@ -28,7 +28,7 @@ public class RealityToolkitEditorSettings : EditorScriptableSettings assetImportPath; - set => assetImportPath = value; + private set => assetImportPath = value; } } } diff --git a/Runtime/Input/Hands/Poses/HandPose.cs b/Runtime/Input/Hands/Poses/HandPose.cs index 0d0b06f5..af724f5c 100644 --- a/Runtime/Input/Hands/Poses/HandPose.cs +++ b/Runtime/Input/Hands/Poses/HandPose.cs @@ -122,7 +122,7 @@ public void Save(string fileName = null) fileName = $"{nameof(HandPose)}_{RecordedHandedness}"; } - UnityEditor.AssetDatabase.CreateAsset(this, System.IO.Path.Join("Assets", "RealityToolkit.Generated", $"{fileName}.asset")); + UnityEditor.AssetDatabase.CreateAsset(this, System.IO.Path.Join("Assets", "RealityToolkit", $"{fileName}.asset")); UnityEditor.AssetDatabase.Refresh(); } diff --git a/Runtime/Input/Hands/Poses/HandPoseRecorder.cs b/Runtime/Input/Hands/Poses/HandPoseRecorder.cs index b72a7a2d..97a2ad67 100644 --- a/Runtime/Input/Hands/Poses/HandPoseRecorder.cs +++ b/Runtime/Input/Hands/Poses/HandPoseRecorder.cs @@ -120,7 +120,7 @@ public void Record() }).ToList() }); - System.IO.File.WriteAllText(System.IO.Path.Join(Application.dataPath, "RealityToolkit.Generated", $"{nameof(SerializedHandPose)}.txt"), json); + System.IO.File.WriteAllText(System.IO.Path.Join(Application.dataPath, "RealityToolkit", $"{nameof(SerializedHandPose)}.txt"), json); return; }