Skip to content

Commit

Permalink
Version 0.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
De-Panther committed May 5, 2021
1 parent 4b0bb6f commit 421bc35
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 13 deletions.
Binary file modified Build/Build/Build.data.unityweb
Binary file not shown.
Binary file modified Build/Build/Build.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion Build/Build/Build.wasm.framework.unityweb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"dependencies": {
"com.atteneder.gltfast": "3.0.2",
"com.atteneder.gltfast": "3.2.1",
"com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.2.3",
Expand Down
4 changes: 2 additions & 2 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"com.atteneder.gltfast": {
"version": "3.0.2",
"version": "3.2.1",
"depth": 0,
"source": "registry",
"dependencies": {
Expand All @@ -18,7 +18,7 @@
"source": "embedded",
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0",
"com.atteneder.gltfast": "3.0.2"
"com.atteneder.gltfast": "3.2.1"
}
},
"com.unity.collab-proxy": {
Expand Down
15 changes: 11 additions & 4 deletions Packages/webxr-input-profiles-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.5] - 2020-02-13
## [0.3.6] - 2021-05-06
### Added
- GetChildTransform to InputProfileModel for WebXR Hands API support.

### Changed
- Updated glTFast package to 3.2.1.

## [0.3.5] - 2021-02-13
### Fixed
- Warning in DeferAgent file.

Expand All @@ -15,15 +22,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- TimeBudgetDeferAgent to WebGLDeferAgent.
- Sample scene lighting settings.

## [0.3.4] - 2020-02-07
## [0.3.4] - 2021-02-07
### Fixed
- More issues with loading models.

## [0.3.3] - 2020-02-06
## [0.3.3] - 2021-02-06
### Fixed
- Issues with loading models.

## [0.3.2] - 2020-02-06
## [0.3.2] - 2021-02-06
### Changed
- Updated glTFast package to 3.0.1.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ public class InputProfileModel : MonoBehaviour

private GltfAsset gltfAsset;

private Transform _transform;

public async void Init(LayoutRouting layoutRouting, string url, System.Action<bool> callback = null)
{
this.layoutRouting = layoutRouting;
_transform = transform;
onLoadCallback = callback;
if (gltfAsset == null)
{
Expand All @@ -37,7 +40,6 @@ private void OnGltfLoaded(bool success)
onLoadCallback?.Invoke(false);
return;
}
var _transform = transform;
if (layoutRouting != null)
{
layoutTransforms = new LayoutTransforms();
Expand Down Expand Up @@ -87,9 +89,9 @@ private Transform TransformFindRecursive(Transform parent, string value)
{
return result;
}
foreach (Transform _transform in parent)
foreach (Transform child in parent)
{
result = TransformFindRecursive(_transform, value);
result = TransformFindRecursive(child, value);
if (result != null)
{
break;
Expand All @@ -98,6 +100,11 @@ private Transform TransformFindRecursive(Transform parent, string value)
return result;
}

public Transform GetChildTransform(string transformName)
{
return TransformFindRecursive(_transform, transformName);
}

public bool SetButtonValue(int index, float value)
{
if (index < 0 || index >= buttons.Length)
Expand Down
4 changes: 2 additions & 2 deletions Packages/webxr-input-profiles-loader/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.de-panther.webxr-input-profiles-loader",
"displayName": "WebXR Input Profiles Loader",
"version": "0.3.5",
"version": "0.3.6",
"unity": "2019.4",
"description": "Load WebXR Input Profiles in Unity",
"keywords": [
Expand All @@ -23,6 +23,6 @@
],
"dependencies": {
"com.unity.nuget.newtonsoft-json": "2.0.0",
"com.atteneder.gltfast": "3.0.2"
"com.atteneder.gltfast": "3.2.1"
}
}

0 comments on commit 421bc35

Please sign in to comment.