public static IsCalculationLevelAtOverviewOnly ( bool includeUsedAssets, bool includeUnusedAssets, bool includeUnusedPrefabs ) : bool | ||
includeUsedAssets | bool | |
includeUnusedAssets | bool | |
includeUnusedPrefabs | bool | |
return | bool |
public static bool IsCalculationLevelAtOverviewOnly(bool includeUsedAssets, bool includeUnusedAssets, bool includeUnusedPrefabs)
{
// if used assets not included, it is understood that unused assets are not included too.
// if used assets are not included, there is no way to determing if an asset is unused.
return !includeUsedAssets;
}