mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-12 23:48:59 +08:00
fix: missing customizeAnimationLayers setting
This commit is contained in:
parent
7fb7aee779
commit
4d5c01afae
@ -1,8 +1,10 @@
|
||||
#if MA_VRCSDK3_AVATARS
|
||||
|
||||
using HarmonyLib;
|
||||
using modular_avatar_tests;
|
||||
using nadena.dev.ndmf;
|
||||
using NUnit.Framework;
|
||||
using UnityEditor;
|
||||
using UnityEditor.Animations;
|
||||
using VRC.SDK3.Avatars.Components;
|
||||
|
||||
@ -17,6 +19,8 @@ namespace UnitTests.MergeAnimatorTests.SyncedLayerOverrideInSubStatemachine
|
||||
var root = CreateRoot("root");
|
||||
var vrc_descriptor = root.GetComponent<VRCAvatarDescriptor>();
|
||||
|
||||
vrc_descriptor.customizeAnimationLayers = true;
|
||||
|
||||
var layers = vrc_descriptor.baseAnimationLayers;
|
||||
for (int i = 0; i < layers.Length; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user