Universe.Physics.BulletSPlugin.BSAPIUnman.Shutdown C# (CSharp) Method

Shutdown() public method

public Shutdown ( BulletWorld world ) : void
world BulletWorld
return void
        public override void Shutdown(BulletWorld world)
        {
            BulletWorldUnman worldu = world as BulletWorldUnman;
            BSAPICPP.Shutdown2(worldu.ptr);

            if (m_paramsHandle.IsAllocated)
            {
                m_paramsHandle.Free();
            }
            if (m_collisionArrayPinnedHandle.IsAllocated)
            {
                m_collisionArrayPinnedHandle.Free();
            }
            if (m_updateArrayPinnedHandle.IsAllocated)
            {
                m_updateArrayPinnedHandle.Free();
            }
        }
BSAPIUnman