feat: Visible Head Accessory can be used on Android builds (#961)

This commit is contained in:
bd_ 2024-08-06 21:09:22 -07:00 committed by GitHub
parent 87ff50b161
commit 7d5860654a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,11 +135,6 @@ namespace nadena.dev.modular_avatar.core.editor
bool Process(ModularAvatarVisibleHeadAccessory target) bool Process(ModularAvatarVisibleHeadAccessory target)
{ {
#if UNITY_ANDROID
Object.DestroyImmediate(target);
return false;
#endif
bool didWork = false; bool didWork = false;
if (_validator.Validate(target) == VisibleHeadAccessoryValidation.ReadyStatus.Ready) if (_validator.Validate(target) == VisibleHeadAccessoryValidation.ReadyStatus.Ready)