public void Dispose() { grid.Dispose(); movingParticles.Dispose(); particleContactQueue.Dispose(); fluidInteractionQueue.Dispose(); previousActiveParticles.Dispose(); }
public void OnDestroy() { ObiColliderWorld.GetInstance().UnregisterImplementation(this); grid.Dispose(); movingColliders.Dispose(); colliderContactQueue.Dispose(); cellSpans.Dispose(); }
public void Dispose() { grid.Dispose(); particleContactQueue.Dispose(); fluidInteractionQueue.Dispose(); }