public void Dispose() { if (Foundation != null && !Foundation.Disposed) { Foundation.Dispose(); } Foundation = null; Physics = null; Scene = null; ErrorOutput = null; }
internal static void Destroy() { Scene.Dispose(); Physics.Dispose(); Foundation.Dispose(); }