Skip to content

Commit e3c237e

Browse files
committed
fix(ProfileManager): ensure switch method is agnostic
The Samples profile managers for each heaqdset all had a reference to Meta in their `SwitchToProfile` method, which is confusing so this has been updated so there is no reference to `Meta` in the method names at all now.
1 parent a43e3bc commit e3c237e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Samples~/PICOOpenXRPlugin/Editor/Config/PicoProfileManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void ShowWindow()
1515
}
1616

1717
[MenuItem(menuRoot + menuSwitchPrefix + "Pico" + menuSwitchSuffix)]
18-
public static void SwitchToMetaProfile()
18+
public static void SwitchToProfile()
1919
{
2020
SwitchProfile<OpenXRProfileConfig>(_assetPath);
2121
}

Samples~/UnityOpenXRMeta/Editor/Config/MetaProfileManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void ShowWindow()
1515
}
1616

1717
[MenuItem(menuRoot + menuSwitchPrefix + "Meta" + menuSwitchSuffix)]
18-
public static void SwitchToMetaProfile()
18+
public static void SwitchToProfile()
1919
{
2020
SwitchProfile<OpenXRProfileConfig>(_assetPath);
2121
}

Samples~/VIVEOpenXRPlugin/Editor/Config/ViveProfileManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static void ShowWindow()
1515
}
1616

1717
[MenuItem(menuRoot + menuSwitchPrefix + "Vive" + menuSwitchSuffix)]
18-
public static void SwitchToMetaProfile()
18+
public static void SwitchToProfile()
1919
{
2020
SwitchProfile<OpenXRProfileConfig>(_assetPath);
2121
}

0 commit comments

Comments
 (0)