void vHavokAiNavMeshResource::Init()
{
	FlagAsUnLoaded();
	SetResourceFlag(VRESOURCEFLAG_ALLOWUNLOAD);
	SetResourceFlag(VRESOURCEFLAG_AUTOUNLOAD);
	SetResourceFlag(VRESOURCEFLAG_AUTODELETE);
}
// unload from memory
BOOL vHavokBehaviorResource::Unload()
{
	// hkbProjectAssetManager will handle unloading

	FlagAsUnLoaded();
	UpdateMemoryFootprint();
	return true;
}
// unload from memory
BOOL vHavokAiNavMeshResource::Unload()
{
	VASSERT(m_mediator->getReferenceCount() == 1);
	m_mediator = HK_NULL;

	VASSERT(m_navMesh->getReferenceCount() == 1);
	m_navMesh = HK_NULL;

	FlagAsUnLoaded();
	UpdateMemoryFootprint();
	return true;
}