Commit Graph

4 Commits

Author SHA1 Message Date
Haï~
3b067e4664
Make compatible with Unity 6 projects (#1232)
* Disable compilation for use in Unity 6 (6000.0.20f1):
- Do not compile some classes and code paths in non-VRChat projects.
- This has been tested in Unity 6 (6000.0.20f1).

* Fix hide internal components in Unity 6:
- [AddComponentMenu("")] does not work in Unity 6.
- Replace it with [AddComponentMenu("/")]
- This alternative is confirmed to also work in Unity 2022.

---------

Co-authored-by: Haï~ <hai-vr@users.noreply.github.com>
Co-authored-by: bd_ <bd_@nadena.dev>
2024-10-19 18:58:41 -07:00
nekobako
36e035c8c7
fix: inverted reactive components on inactive objects didn't set defa… (#1246)
* fix: inverted reactive components on inactive objects didn't set default states

* chore: use `InitiallyActive` helper

---------

Co-authored-by: bd_ <bd_@nadena.dev>
2024-10-02 19:03:03 -07:00
nekobako
a2b9b817ce
fix: MaterialSetter is not working without ShapeChanger or ObjectToggle (#1043) 2024-08-25 18:04:14 -07:00
bd_
d998763fbe
feat: add material switcher and inverse mode (#974)
* feat: add material switcher

Also refactor everything...

* refactor: simplify object curve handling

* refactor: additional refactoring and bugfixes

* feat: inverse mode

* feat: add material setter inspector UI

* chore: set material setter icon

* chore: fix error on build

* chore: adjust order of inverted element
2024-08-10 18:03:50 -07:00