Cast: add event data raycast hit extractor (fd44cce)
The PointsCast.EventData contains RaycastHit information that may be useful to be extracted and then worked upon elsewhere, so this new extractor simply extracts the RaycastHit from the PointsCast EventData.
The GameObjectDestroyer component allows a specified GameObject to be destroyed either immediately or at the end of the frame.
Extension: add unsigned euler to signed for Vector2 (9faa375)
The UnsignedEulerToSignedEuler method was only on the Vector3 extension but it really should be on Vector2 extension as well for completeness as these two extension classes have the same matching methods.
Rule: add rule based on action activated state (52217a4)
The ActionRule will return true if the set (or given) action is currently activated and will return false if the action is in the deactivated state.
Utility: add ability for countdown timer to start on enabled (bab96b0)
Previously, the CountdownTimer component would rely on the BehaviourEnabledObserver component to let it start the timer when the component became enabled. But the use case for wanting a timer to start when the component is enabled is so common that it may as well simply be an option on the CountdownTimer component itself.
This makes it easier to simply start a timer, but it can also be disabled so the use of the BehaviourEnabledObserver can still be used if required. It is also set to false by default so will not cause any breaking changes.
Bug Fixes
DirectionModifier: allow RotationUpTarget to be set by method (fd20d38)
The RotationUpTarget property can now be set via a method passing the enum index in as the parameter.
Visual: add UnityFlag attribute to meshesToModify field (3676613)
The meshesToModify field needs to have the UnityFlag attribute on it otherwise it won't show up the multiple choice enum drop down.
Cast: add event data raycast hit extractor (fd44cce)
The PointsCast.EventData contains RaycastHit information that may be useful to be extracted and then worked upon elsewhere, so this new extractor simply extracts the RaycastHit from the PointsCast EventData.
The GameObjectDestroyer component allows a specified GameObject to be destroyed either immediately or at the end of the frame.
Extension: add unsigned euler to signed for Vector2 (9faa375)
The UnsignedEulerToSignedEuler method was only on the Vector3 extension but it really should be on Vector2 extension as well for completeness as these two extension classes have the same matching methods.
Rule: add rule based on action activated state (52217a4)
The ActionRule will return true if the set (or given) action is currently activated and will return false if the action is in the deactivated state.
Utility: add ability for countdown timer to start on enabled (bab96b0)
Previously, the CountdownTimer component would rely on the BehaviourEnabledObserver component to let it start the timer when the component became enabled. But the use case for wanting a timer to start when the component is enabled is so common that it may as well simply be an option on the CountdownTimer component itself.
This makes it easier to simply start a timer, but it can also be disabled so the use of the BehaviourEnabledObserver can still be used if required. It is also set to false by default so will not cause any breaking changes.
Bug Fixes
DirectionModifier: allow RotationUpTarget to be set by method (fd20d38)
The RotationUpTarget property can now be set via a method passing the enum index in as the parameter.
Visual: add UnityFlag attribute to meshesToModify field (3676613)
The meshesToModify field needs to have the UnityFlag attribute on it otherwise it won't show up the multiple choice enum drop down.
Commits
733411d chore(release): set version to 2.2.0 [skip ci]
c79920c Merge pull request #568 from ExtendRealityLtd/feat/set-rotation-up-target
bab96b0 feat(Utility): add ability for countdown timer to start on enabled
fd44cce feat(Cast): add event data raycast hit extractor
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)
Bumps io.extendreality.zinnia.unity from 2.1.0 to 2.2.0.
Release notes
Sourced from io.extendreality.zinnia.unity's releases.
Changelog
Sourced from io.extendreality.zinnia.unity's changelog.
Commits
733411d
chore(release): set version to 2.2.0 [skip ci]c79920c
Merge pull request #568 from ExtendRealityLtd/feat/set-rotation-up-targetbab96b0
feat(Utility): add ability for countdown timer to start on enabledfd44cce
feat(Cast): add event data raycast hit extractord20fce6
feat(Data): add GameObject destroyer9faa375
feat(Extension): add unsigned euler to signed for Vector252217a4
feat(Rule): add rule based on action activated state3676613
fix(Visual): add UnityFlag attribute to meshesToModify fieldfd20d38
fix(DirectionModifier): allow RotationUpTarget to be set by methodDependabot 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)