dont destroy self

This commit is contained in:
NotAKidoS 2023-01-27 09:09:06 -06:00
parent 15e26de9c6
commit 27a05545ed
3 changed files with 5 additions and 7 deletions

View file

@ -79,14 +79,12 @@ public class AASBufferHelper : MonoBehaviour
{
isAcceptingAAS = true;
puppetMaster?.ApplyAdvancedAvatarSettings(aasBufferFloat, aasBufferInt, aasBufferByte);
Destroy(this);
}
public void ApplyExternalAAS(float[] settingsFloat, int[] settingsInt, byte[] settingsByte)
{
isAcceptingAAS = true;
puppetMaster?.ApplyAdvancedAvatarSettings(settingsFloat, settingsInt, settingsByte);
Destroy(this);
}
public void StoreExternalAASBuffer(float[] settingsFloat, int[] settingsInt, byte[] settingsByte)