protected virtual void Update()
{
if (UpdateEvent != null) UpdateEvent(this);
if (progressTitle != "")
{
progressBarVisible = true;
EditorUtility.DisplayProgressBar(progressTitle, progressSummary,
progress);
}
else if (progressBarVisible)
{
progressBarVisible = false;
EditorUtility.ClearProgressBar();
}
}
}