11 Commits

Author SHA1 Message Date
bd_
d8d03af2c3 Revert "chore: sync object and menu"
This reverts commit fa4e714f307fce3cec4a13bd6cfbf2760134a710.

This is temporarily reverted until we have support in MenuItem to ensure
that `0` is always the default selection, even for toggles. This should
be reverted when #1433 is done (which will resolve #1434)
2025-02-02 19:45:44 -08:00
tliks
fa4e714f30 chore: sync object and menu 2025-02-02 12:32:30 +09:00
tliks
290c7c30cf chore: rename "SetupToggle" to "CreateToggleForSelection" 2025-02-02 12:25:09 +09:00
tliks
236d989b53 chore: use MenuCommand 2025-02-02 12:21:40 +09:00
tliks
bc6e71a804 chore: Active = !selected.activeSelf 2024-12-21 12:51:58 +09:00
tliks
492edb64fa feat: support multiple selections 2024-12-21 06:43:16 +09:00
tliks
11da8cd639 feat: setup toggle 2024-12-21 06:18:37 +09:00
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
bd_
b866628b24 chore: fix compiler warnings 2024-09-27 19:37:23 -07:00
nekobako
c0582a9961
fix: non-backwards-compatible changes to component initial values (#1114)
* fix: init menu item settings only when added manually from inspector

* fix: init menu item settings when added from some shortcuts

* fix: init menu item settings when reset from context menu

* fix: init merge animator settings only when added manually from inspector
2024-09-13 18:57:03 -07:00
bd_
6b99b763a7
ui adjustments; added toggle creation shortcuts (#975)
* ui: adjustments to reactive object UI

* ui: toggle creation shortcuts
2024-08-10 19:16:57 -07:00