mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-28 10:15:06 +08:00
3b067e4664
* 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>
15 lines
405 B
C#
15 lines
405 B
C#
using UnityEngine;
|
|
|
|
namespace nadena.dev.modular_avatar.core
|
|
{
|
|
[DisallowMultipleComponent]
|
|
#if MA_VRCSDK3_AVATARS
|
|
[AddComponentMenu("Modular Avatar/MA Convert Constraints")]
|
|
#else
|
|
[AddComponentMenu("/")]
|
|
#endif
|
|
[HelpURL("https://modular-avatar.nadena.dev/docs/reference/convert-constraints?lang=auto")]
|
|
public class ModularAvatarConvertConstraints : AvatarTagComponent
|
|
{
|
|
}
|
|
} |