mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-11 23:19:00 +08:00
- [AddComponentMenu("")] does not work in Unity 6. - Replace it with [AddComponentMenu("/")] - This alternative is confirmed to also work in Unity 2022.
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
|
|
{
|
|
}
|
|
} |