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