Skip to content

Commit

Permalink
Merge pull request #35 from realitycollective/dev/core-compat
Browse files Browse the repository at this point in the history
Restore core compatibility
  • Loading branch information
FejZa authored Jun 20, 2024
2 parents 1a0856a + d8c9187 commit 838c458
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Assets~/Profiles/PlayerPackageInstallerProfile.asset
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: da64fb88269149f8a95f1fb969d6a0b4, type: 3}
m_Script: {fileID: 11500000, guid: ca58982aa11ed854eb65870ff37088c6, type: 3}
m_Name: PlayerPackageInstallerProfile
m_EditorClassIdentifier:
platformEntries:
Expand Down
4 changes: 2 additions & 2 deletions Editor/PlayerPackageInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
using RealityCollective.Utilities.Editor;
using RealityCollective.Utilities.Extensions;
using RealityToolkit.Editor;
using RealityToolkit.Editor.Settings;
using System.IO;
using UnityEditor;
using UnityEngine;

namespace RealityToolkit.Player.Editor
{
[InitializeOnLoad]
internal static class PlayerPackageInstaller
{
private static readonly string destinationPath = Application.dataPath + "/RealityToolkit.Generated/Player";
private static readonly string destinationPath = Path.Combine(RealityToolkitEditorSettings.Instance.AssetImportPath, "Player");
private static readonly string sourcePath = Path.GetFullPath($"{PathFinderUtility.ResolvePath<IPathFinder>(typeof(PlayerPackagePathFinder)).ForwardSlashes()}{Path.DirectorySeparatorChar}{"Assets~"}");

static PlayerPackageInstaller()
Expand Down
4 changes: 3 additions & 1 deletion Editor/RealityToolkit.Player.Editor.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"GUID:b2d046948d6452a4b8485efc9ce0f88c",
"GUID:2a3f0ca4e21332c44bfdce311ea8943e",
"GUID:9753fcbb5b1feaf459f435ac95e51baa",
"GUID:13703f41b24bb904cb2305abe6317e3d"
"GUID:13703f41b24bb904cb2305abe6317e3d",
"GUID:dc960734dc080426fa6612f1c5fe95f3",
"GUID:4ddd23ea56a3a40f0aa0036d1624a53e"
],
"includePlatforms": [
"Editor"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"url": "https://github.com/realitycollective"
},
"dependencies": {
"com.realitytoolkit.core": "1.0.0-pre.50",
"com.realitytoolkit.core": "1.0.0-pre.56",
"com.unity.xr.legacyinputhelpers": "2.1.7"
},
"assets": [
Expand All @@ -37,4 +37,4 @@
"path": "Assets~/"
}
]
}
}

0 comments on commit 838c458

Please sign in to comment.