mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
aa698565ab
* chore: refactor state machine clone logic out as a separate class * feat: add layer priority and relative path root options to Merge Animator * feat: add Merge Blend Tree component * chore: adjust NDMF dependency * docs: update merge-animator docs * docs: merge blend tree docs
14 lines
628 B
C#
14 lines
628 B
C#
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();
|
|
}
|
|
} |