Data: set custom true and false values for boolean to float (d05c220)
The BooleanToFloat component now has the ability to set the false and true float value rather than it just being hard coded to 0f for false and 1f for true.
The FloatToBoolean PositiveBounds property has also been made public as it should be so it can be set via code if required.
Utility: add stub component to allow gameobject selection (7f1afbe)
The BaseGameObjectSelector component is an empty component that contains the [SelectionBase] Unity tag, so when the GameObject that has this component on it is clicked in the Unity scene view then it will select this specific GameObject and not the one that contains the mesh as this is not always the desired result.
Bug Fixes
Data: ensure float range drawer indents correctly (3d4c658)
The indent on the FloatRangeDrawer was in the wrong place causing incorrect indentation when the property was being used in an already indented collection.
ZinniaInspector: catch unwanted exceptions from Unity (e2c3e09)
There are a couple of oddities where Unity will thrown an exception using the custom editor if a Horizontal or Vertical group is started and then another Unity inspector element is opened it seems not to close the previous opened group causing a mismatch somewhere.
This isn't technically a fix for the problem but just a way of removing the error for now.
Data: set custom true and false values for boolean to float (d05c220)
The BooleanToFloat component now has the ability to set the false and true float value rather than it just being hard coded to 0f for false and 1f for true.
The FloatToBoolean PositiveBounds property has also been made public as it should be so it can be set via code if required.
Utility: add stub component to allow gameobject selection (7f1afbe)
The BaseGameObjectSelector component is an empty component that contains the [SelectionBase] Unity tag, so when the GameObject that has this component on it is clicked in the Unity scene view then it will select this specific GameObject and not the one that contains the mesh as this is not always the desired result.
Bug Fixes
Data: ensure float range drawer indents correctly (3d4c658)
The indent on the FloatRangeDrawer was in the wrong place causing incorrect indentation when the property was being used in an already indented collection.
ZinniaInspector: catch unwanted exceptions from Unity (e2c3e09)
There are a couple of oddities where Unity will thrown an exception using the custom editor if a Horizontal or Vertical group is started and then another Unity inspector element is opened it seems not to close the previous opened group causing a mismatch somewhere.
This isn't technically a fix for the problem but just a way of removing the error for now.
Commits
a18ece8 chore(release): set version to 2.1.0 [skip ci]
2d1efa6 Merge pull request #567 from ExtendRealityLtd/fix/editor-error
7f1afbe feat(Utility): add stub component to allow gameobject selection
d05c220 feat(Data): set custom true and false values for boolean to float
3d4c658 fix(Data): ensure float range drawer indents correctly
e2c3e09 fix(ZinniaInspector): catch unwanted exceptions from Unity
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.0.0 to 2.1.0.
Release notes
Sourced from io.extendreality.zinnia.unity's releases.
Changelog
Sourced from io.extendreality.zinnia.unity's changelog.
Commits
a18ece8
chore(release): set version to 2.1.0 [skip ci]2d1efa6
Merge pull request #567 from ExtendRealityLtd/fix/editor-error7f1afbe
feat(Utility): add stub component to allow gameobject selectiond05c220
feat(Data): set custom true and false values for boolean to float3d4c658
fix(Data): ensure float range drawer indents correctlye2c3e09
fix(ZinniaInspector): catch unwanted exceptions from UnityDependabot 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)