mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-09 22:19:00 +08:00
chore: fix issues with Visible Head Accessory patch
This commit is contained in:
parent
344a03d8d6
commit
0bab5d1dce
@ -81,12 +81,10 @@ namespace nadena.dev.modular_avatar.core.editor
|
||||
bool Process(ModularAvatarVisibleHeadAccessory target)
|
||||
{
|
||||
#if UNITY_ANDROID
|
||||
foreach (var target in _avatar.GetComponentsInChildren<ModularAvatarVisibleHeadAccessory>(true))
|
||||
{
|
||||
Object.DestroyImmediate(target);
|
||||
}
|
||||
return;
|
||||
Object.DestroyImmediate(target);
|
||||
return false;
|
||||
#endif
|
||||
|
||||
bool didWork = false;
|
||||
|
||||
if (Validate(target) == ReadyStatus.Ready)
|
||||
|
Loading…
x
Reference in New Issue
Block a user