Commit Graph

5 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
56f1b67d31
fix: animator initial value type conversion (#1163) 2024-09-17 19:47:56 -07:00
kaikoga
d15bbe86a2
chore: Skip ApplyAnimatorDefaultValuesPass when not VRChat avatar (#731) 2024-03-05 17:20:43 +09:00
bd_
f99930999e
fix: compatibility break with animator defaults (#686)
Changes in 1.9.0 broke existing avatars that used animators with
different default values than the MA Parameters fields. This change
makes overriding the animator defaults require an explicit configuration;
this is technically a change which would require a minor version bump,
but as this is addressing a major-version-level compatibility break in 1.9.0,
we're going to push this out at a minor version this time.
2024-02-21 20:40:31 +09:00
bd_
2cf5967a42
feat: allow animator-only defaults to be set using MA Parameters (#648)
* feat: allow animator-only defaults to be set using MA Parameters

* chore: add unit tests for new default parameter behavior
2024-02-12 14:59:39 +09:00