mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-17 11:50:11 +08:00
fix: scale adjuster's hidden bones don't block PBs (#653)
This commit is contained in:
parent
6b181f3f57
commit
2751c88fea
@ -17,6 +17,11 @@ namespace nadena.dev.modular_avatar.core
|
|||||||
private void DeferredValidate()
|
private void DeferredValidate()
|
||||||
{
|
{
|
||||||
if (this == null) return;
|
if (this == null) return;
|
||||||
|
|
||||||
|
if (GetComponent<ModularAvatarPBBlocker>() == null)
|
||||||
|
{
|
||||||
|
gameObject.AddComponent<ModularAvatarPBBlocker>();
|
||||||
|
}
|
||||||
|
|
||||||
gameObject.hideFlags = HideFlags.HideInHierarchy;
|
gameObject.hideFlags = HideFlags.HideInHierarchy;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user