Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
added lumin platform definition (#52)
Browse files Browse the repository at this point in the history
* added lumin platform definition

* bumped version numbers

* updated packages
  • Loading branch information
StephenHodgson authored Apr 1, 2020
1 parent d1338d6 commit c7b17dc
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
24 changes: 24 additions & 0 deletions LuminPlatform.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

namespace XRTK.Definitions.Platforms
{
/// <summary>
/// Used by the XRTK to signal that the feature is available on the Lumin platform.
/// </summary>
public class LuminPlatform : BasePlatform
{
/// <inheritdoc />
public override bool IsAvailable
{
get
{
#if PLATFORM_LUMIN
return true;
#else
return false;
#endif
}
}
}
}
11 changes: 11 additions & 0 deletions LuminPlatform.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"reality",
"lumin"
],
"version": "0.1.10",
"version": "0.1.11",
"unity": "2019.1",
"license": "MIT",
"src": "Assets/XRTK.Lumin",
"author": "XRTK Team (https://github.com/XRTK)",
"dependencies": {
"com.unity.xr.magicleap": "2.0.0-preview.19",
"com.xrtk.core": "0.1.27"
"com.xrtk.core": "0.1.32"
}
}

0 comments on commit c7b17dc

Please sign in to comment.