Esempio n. 1
0
 public void Clear()
 {
     if (FlexContainer.library && m_flexMesh)
     {
         Flex.DestroyTriangleMesh(FlexContainer.library, m_flexMesh);
     }
     m_flexMesh.Clear();
     if (FlexContainer.library && m_flexConvex)
     {
         Flex.DestroyConvexMesh(FlexContainer.library, m_flexConvex);
     }
     m_flexConvex.Clear();
 }