mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
Organize add component menu
This commit is contained in:
parent
2091402572
commit
b3eec08abe
@ -34,6 +34,7 @@ namespace net.fushizen.modular_avatar.core
|
||||
[RequireComponent(typeof(SkinnedMeshRenderer))]
|
||||
[DisallowMultipleComponent]
|
||||
[ExecuteAlways]
|
||||
[AddComponentMenu("Modular Avatar/MA Blendshape Sync")]
|
||||
public class ModularAvatarBlendshapeSync : AvatarTagComponent
|
||||
{
|
||||
public List<BlendshapeBinding> Bindings = new List<BlendshapeBinding>();
|
||||
|
@ -30,6 +30,7 @@ namespace net.fushizen.modular_avatar.core
|
||||
{
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
[AddComponentMenu("Modular Avatar/MA Bone Proxy")]
|
||||
public class ModularAvatarBoneProxy : AvatarTagComponent
|
||||
{
|
||||
private Transform _targetCache;
|
||||
|
@ -4,6 +4,7 @@ using VRC.SDK3.Avatars.ScriptableObjects;
|
||||
|
||||
namespace net.fushizen.modular_avatar.core
|
||||
{
|
||||
[AddComponentMenu("Modular Avatar/MA Menu Installer")]
|
||||
public class ModularAvatarMenuInstaller : AvatarTagComponent
|
||||
{
|
||||
public VRCExpressionsMenu menuToAppend;
|
||||
|
@ -33,6 +33,7 @@ namespace net.fushizen.modular_avatar.core
|
||||
Absolute
|
||||
}
|
||||
|
||||
[AddComponentMenu("Modular Avatar/MA Merge Animator")]
|
||||
public class ModularAvatarMergeAnimator : AvatarTagComponent
|
||||
{
|
||||
public RuntimeAnimatorController animator;
|
||||
|
@ -33,6 +33,7 @@ namespace net.fushizen.modular_avatar.core
|
||||
{
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
[AddComponentMenu("Modular Avatar/MA Merge Armature")]
|
||||
public class ModularAvatarMergeArmature : AvatarTagComponent
|
||||
{
|
||||
private const float POS_EPSILON = 0.001f * 0.001f;
|
||||
|
@ -25,6 +25,7 @@ namespace net.fushizen.modular_avatar.core
|
||||
}
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
[AddComponentMenu("Modular Avatar/MA Parameters")]
|
||||
public class ModularAvatarParameters : AvatarTagComponent
|
||||
{
|
||||
public List<ParameterConfig> parameters = new List<ParameterConfig>();
|
||||
|
@ -3,6 +3,7 @@
|
||||
namespace net.fushizen.modular_avatar.core
|
||||
{
|
||||
[AddComponentMenu("Modular Avatar/MA Visible Head Accessory")]
|
||||
[DisallowMultipleComponent]
|
||||
public class ModularAvatarVisibleHeadAccessory : AvatarTagComponent
|
||||
{
|
||||
// no configuration needed
|
||||
|
Loading…
Reference in New Issue
Block a user