private void OnDestroy() { foreach (var i in _simStates) { i.Dispose(); } StaticState.Dispose(); Icosphere.Dispose(); _tempState.Dispose(); }