mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-28 10:15:06 +08:00
5359e3b006
* add referenced assembly * remove unused usings * MA Merge Blend Tree is VRC specific because it expects VRC style Animator Layer setup * PruneParametersPass is VRChat specific * fix: use FindAvatarTransformInParents() to be more cross platform * fix MergeArmatureHook: nop logic for PhysBones if we do not dedup PhysBones * fix AnimatorCombiner: ignore VRC components when non-VRC btw, is AnimatorCombiner VRC specific? * conditional compile some VRChat specific tests
18 lines
660 B
C#
18 lines
660 B
C#
#if MA_VRCSDK3_AVATARS
|
|
|
|
using UnityEngine;
|
|
|
|
namespace nadena.dev.modular_avatar.core
|
|
{
|
|
[AddComponentMenu("Modular Avatar/MA Merge Blend Tree")]
|
|
[HelpURL("https://modular-avatar.nadena.dev/docs/reference/merge-blend-tree?lang=auto")]
|
|
public sealed class ModularAvatarMergeBlendTree : AvatarTagComponent
|
|
{
|
|
// We can't actually reference a BlendTree here because it's not available when building a player build
|
|
public UnityEngine.Object BlendTree;
|
|
public MergeAnimatorPathMode PathMode = MergeAnimatorPathMode.Relative;
|
|
public AvatarObjectReference RelativePathRoot = new AvatarObjectReference();
|
|
}
|
|
}
|
|
|
|
#endif |