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