int GetCalculationLevelGuiIdxFromOptions()
{
if (BuildReportTool.Options.IsCurrentCalculationLevelAtFull)
{
return 0;
}
if (BuildReportTool.Options.IsCurrentCalculationLevelAtNoUnusedPrefabs)
{
return 1;
}
if (BuildReportTool.Options.IsCurrentCalculationLevelAtNoUnusedAssets)
{
return 2;
}
if (BuildReportTool.Options.IsCurrentCalculationLevelAtOverviewOnly)
{
return 3;
}
return 0;
}