Skip to content

Commit 61ef619

Browse files
authored
Merge pull request #4 from microsoft/mrtk_development
Mrtk development
2 parents 5a51d9d + 46da68c commit 61ef619

File tree

10 files changed

+598
-433
lines changed

10 files changed

+598
-433
lines changed

Assets/MixedRealityToolkit.Providers/WindowsMixedReality/DotNetAdapter/DotNetAdapter.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.Windows.MixedReality.DotNetWinRT">
20-
<Version>0.5.*</Version>
21-
</PackageReference>
22-
<PackageReference Include="MSBuildForUnity">
23-
<Version>0.8.*</Version>
24-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
<PackageReference Include="MSBuildForUnity" Version="0.8.*">
2520
<PrivateAssets>all</PrivateAssets>
21+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2622
</PackageReference>
2723
</ItemGroup>
2824

2925
<!-- Note that this is the special "NoTarget" SDK to prevent this project from producing a dll. -->
3026
<Import Project="Sdk.props" Sdk="Microsoft.Build.NoTargets" Version="1.0.80" />
3127

28+
<ItemGroup>
29+
<PackageReference Include="Microsoft.Windows.MixedReality.DotNetWinRT" Version="0.5.*" />
30+
</ItemGroup>
31+
3232
<Import Project="Sdk.targets" Sdk="Microsoft.Build.NoTargets" Version="1.0.80" />
3333
</Project>

Assets/MixedRealityToolkit.SDK/Features/UX/Scripts/Collections/GridObjectCollection.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ public OrientationType OrientType
4242
set { orientType = value; }
4343
}
4444

45-
[Tooltip("Whether to sort objects by row first or by column first")]
45+
[Tooltip("Specify direction in which children are laid out.")]
4646
[SerializeField]
47-
private LayoutOrder layout = LayoutOrder.ColumnThenRow;
47+
private LayoutOrder layout = LayoutOrder.RowThenColumn;
4848

4949
/// <summary>
50-
/// Whether to sort objects by row first or by column first
50+
/// Specify direction in which children are laid out.
5151
/// </summary>
5252
public LayoutOrder Layout
5353
{
@@ -471,7 +471,6 @@ private void PerformVersionPatching()
471471
{
472472
string friendlyName = GetUserFriendlyName();
473473

474-
Debug.Log($"Upgrade GridObjectCollection on {friendlyName} from version 0 to version 1 for MRTK 2.2 release. Please save scene / prefab.");
475474
// Migrate from version 0 to version 1
476475
UpgradeAssetToVersion1();
477476
assetVersion = 1;
@@ -491,7 +490,7 @@ private void UpgradeAssetToVersion1()
491490
{
492491
Layout = LayoutOrder.RowThenColumn;
493492
var friendlyName = GetUserFriendlyName();
494-
Debug.Log($"Changing LayoutOrder for {friendlyName} from ColumnThenRow to RowThenColumn. See https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6773#issuecomment-561918891 for details.");
493+
Debug.Log($"[MRTK 2.2 asset upgrade] Changing LayoutOrder for {friendlyName} from ColumnThenRow to RowThenColumn. See https://github.com/microsoft/MixedRealityToolkit-Unity/issues/6773#issuecomment-561918891 for details.");
495494
}
496495
}
497496

0 commit comments

Comments
 (0)