mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
Fix Audio Clip References in Animator (#780)
For the new VRC Play Audio State Behavior available in Open Beta
This commit is contained in:
parent
aa631f3b01
commit
2c69bb2b76
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using nadena.dev.modular_avatar.core.editor;
|
||||
using nadena.dev.ndmf;
|
||||
@ -50,7 +50,8 @@ namespace nadena.dev.modular_avatar.animation
|
||||
case AnimatorTransitionBase _:
|
||||
case StateMachineBehaviour _:
|
||||
break; // We want to clone these types
|
||||
|
||||
|
||||
case AudioClip _: //Used in VRC Animator Play Audio State Behavior
|
||||
// Leave textures, materials, and script definitions alone
|
||||
case Texture2D _:
|
||||
case MonoScript _:
|
||||
@ -208,4 +209,4 @@ namespace nadena.dev.modular_avatar.animation
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user