ExtendRealityLtd / Tilia.Interactions.Interactables.Unity

A variety of mechanisms for interacting between interactors and interactables in a spatial scene for the Unity software
MIT License
9 stars 3 forks source link

chore(deps): bump io.extendreality.zinnia.unity from 1.40.0 to 1.41.0 #103

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps io.extendreality.zinnia.unity from 1.40.0 to 1.41.0.

Release notes

Sourced from io.extendreality.zinnia.unity's releases.

v1.41.0

1.41.0 (2022-01-12)

Features

  • Association: define associations with generic patterns (219d1eb)

    The PlatformDeviceAssociation component has been deprecated due to the limited ways it can form a device association via hard coded properties related to the restricted supported types.

    The new RuleAssociation component replaces it with a completely generic approach that will determine activation status on the GameObject collection if the given rule passes.

    This then works with the new PatternMatcherRule which takes a collection of new PatternMatcher components that will attempt to match a give pattern string against a selected source property from a given Unity namespace that contains useful data.

    The existing associations in the PlatformDeviceAssociation exist now as their own PatternMatcher components:

    • ApplicationPatternMatcher * XRSettingsPatternMatcher * XRDevicePatternMatcher

    These provide the same functionality as before, but also offer additional properties that can be used to match against.

    Thes PatternMatcher components can be set up with the PatternMatcherRule and then that rule set up as the Rule in the RuleAssociation to provide the same functionality but with much more flexibility.

    A new SystemInfoPatternMatcher is also included that can use many property types from the UnityEngine.SystemInfo class.

    The ObservableListComponentGeneratorEditorWindow has also been updated so it sets the newly created GameObject name based on the component selected rather than just the generic named ComponentContainer as this makes it easier to identify newly created components.

  • Cast: add ability to set enum properties via methods (41631a1)

    The LayersToIgnore and TriggerInteraction properties can now be set via method calls meaning they can be changed via Unity events.

  • Tracking: add device details and dominant controller tracking (2ccc8fb)

    The new abstract DeviceDetailsRecord sets a framework for holding common information about a device such as model, connected status and battery status.

    The LinkedAliasAssociationCollection now can hold a DeviceDetailsRecord for the headset, left and right controller. CameraRig packages will provide a concrete implementation of the DeviceDetailsRecord for the headset and controllers of that CameraRig supported SDK and then linked to the CameraRig prefab.

    This will mean that the CameraRig prefab will then be able to know about the details of the headset and controllers.

    A new DominantControllerObserver component has been added as well that holds a left/right controller DeviceDetailsRecord as the soruce and will be able to determine whether the left or right controller is the current dominant controller. This component is also processable so can be run on a Moment to check periodically if the dominant controller has changed.

Changelog

Sourced from io.extendreality.zinnia.unity's changelog.

1.41.0 (2022-01-12)

Features

  • Association: define associations with generic patterns (219d1eb)

    The PlatformDeviceAssociation component has been deprecated due to the limited ways it can form a device association via hard coded properties related to the restricted supported types.

    The new RuleAssociation component replaces it with a completely generic approach that will determine activation status on the GameObject collection if the given rule passes.

    This then works with the new PatternMatcherRule which takes a collection of new PatternMatcher components that will attempt to match a give pattern string against a selected source property from a given Unity namespace that contains useful data.

    The existing associations in the PlatformDeviceAssociation exist now as their own PatternMatcher components:

    • ApplicationPatternMatcher * XRSettingsPatternMatcher * XRDevicePatternMatcher

    These provide the same functionality as before, but also offer additional properties that can be used to match against.

    Thes PatternMatcher components can be set up with the PatternMatcherRule and then that rule set up as the Rule in the RuleAssociation to provide the same functionality but with much more flexibility.

    A new SystemInfoPatternMatcher is also included that can use many property types from the UnityEngine.SystemInfo class.

    The ObservableListComponentGeneratorEditorWindow has also been updated so it sets the newly created GameObject name based on the component selected rather than just the generic named ComponentContainer as this makes it easier to identify newly created components.

  • Cast: add ability to set enum properties via methods (41631a1)

    The LayersToIgnore and TriggerInteraction properties can now be set via method calls meaning they can be changed via Unity events.

  • Tracking: add device details and dominant controller tracking (2ccc8fb)

    The new abstract DeviceDetailsRecord sets a framework for holding common information about a device such as model, connected status and battery status.

    The LinkedAliasAssociationCollection now can hold a DeviceDetailsRecord for the headset, left and right controller. CameraRig packages will provide a concrete implementation of the DeviceDetailsRecord for the headset and controllers of that CameraRig supported SDK and then linked to the CameraRig prefab.

    This will mean that the CameraRig prefab will then be able to know about the details of the headset and controllers.

    A new DominantControllerObserver component has been added as well that holds a left/right controller DeviceDetailsRecord as the soruce and will be able to determine whether the left or right controller is the current dominant controller. This component is also processable so can be run on a Moment to check periodically if the dominant controller has changed.

Commits
  • 6673de0 chore(release): set version to 1.41.0 [skip ci]
  • dbc254f Merge pull request #553 from ExtendRealityLtd/feat/system-data
  • 2ccc8fb feat(Tracking): add device details and dominant controller tracking
  • 41631a1 feat(Cast): add ability to set enum properties via methods
  • 219d1eb feat(Association): define associations with generic patterns
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
ExtendReality-Bot commented 2 years ago

:tada: This PR is included in version 1.22.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket: