Skip to content

Commit

Permalink
Merge pull request #2 from realitycollective/fix/platform
Browse files Browse the repository at this point in the history
Remove VisionOS platform definition (is defined in SF)
  • Loading branch information
FejZa authored Jul 5, 2024
2 parents a6fec68 + fd7161e commit 82d3344
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 96 deletions.
6 changes: 4 additions & 2 deletions Editor/RealityToolkit.VisionOS.Editor.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"GUID:13703f41b24bb904cb2305abe6317e3d",
"GUID:9753fcbb5b1feaf459f435ac95e51baa",
"GUID:b2d046948d6452a4b8485efc9ce0f88c",
"GUID:2a3f0ca4e21332c44bfdce311ea8943e"
"GUID:2a3f0ca4e21332c44bfdce311ea8943e",
"GUID:dc960734dc080426fa6612f1c5fe95f3",
"GUID:4ddd23ea56a3a40f0aa0036d1624a53e"
],
"includePlatforms": [
"Editor"
Expand All @@ -20,4 +22,4 @@
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
}
4 changes: 2 additions & 2 deletions Editor/VisionOSPackageInstaller.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.VisionOS.Editor
{
[InitializeOnLoad]
internal static class VisionOSPackageInstaller
{
private static readonly string destinationPath = Application.dataPath + "/RealityToolkit.Generated/VisionOS";
private static readonly string destinationPath = Path.Combine(RealityToolkitEditorSettings.Instance.AssetImportPath, "VisionOS");
private static readonly string sourcePath = Path.GetFullPath($"{PathFinderUtility.ResolvePath<IPathFinder>(typeof(VisionOSPackagePathFinder)).ForwardSlashes()}{Path.DirectorySeparatorChar}{"Assets~"}");

static VisionOSPackageInstaller()
Expand Down
1 change: 1 addition & 0 deletions Runtime/Player/Rigs/VisionOSPlayerRigServiceModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License. See LICENSE in the project root for license information.

using RealityCollective.ServiceFramework.Attributes;
using RealityCollective.ServiceFramework.Definitions.Platforms;
using RealityToolkit.Player;
using RealityToolkit.Player.Rigs;
using UnityEngine;
Expand Down
81 changes: 0 additions & 81 deletions Runtime/VisionOSPlatform.cs

This file was deleted.

11 changes: 0 additions & 11 deletions Runtime/VisionOSPlatform.cs.meta

This file was deleted.

0 comments on commit 82d3344

Please sign in to comment.