fix: BoneProxy editor is missing pos/rot hold options

This commit is contained in:
bd_ 2023-01-18 19:08:18 +09:00
parent ef1699e4da
commit be32ed55f5

View File

@ -17,7 +17,12 @@ namespace nadena.dev.modular_avatar.core.editor
protected override string localizationPrefix => "boneproxy.attachment"; protected override string localizationPrefix => "boneproxy.attachment";
protected override Array enumValues => new object[] protected override Array enumValues => new object[]
{BoneProxyAttachmentMode.AsChildAtRoot, BoneProxyAttachmentMode.AsChildKeepWorldPose}; {
BoneProxyAttachmentMode.AsChildAtRoot,
BoneProxyAttachmentMode.AsChildKeepWorldPose,
BoneProxyAttachmentMode.AsChildKeepRotation,
BoneProxyAttachmentMode.AsChildKeepPosition,
};
} }
[CustomEditor(typeof(ModularAvatarBoneProxy))] [CustomEditor(typeof(ModularAvatarBoneProxy))]