DriverGame/DriverGame/Obstacle.cs
/// <summary>
/// Dispose the mesh and any related information
/// </summary>
Dispose the mesh and any related information
Dispose the mesh and any related information
public void Dispose()
        {
            obstacleMesh.Dispose();
            System.GC.SuppressFinalize(this);
        }
public void Dispose ( ) { obstacleMesh . Dispose ( ) ; System . GC . SuppressFinalize ( this ) ; }
Dispose the mesh and any related information
Dispose the mesh and any related information