private ShowEditorProgressBar ( string message, float fPercent ) : void | ||
message | string | |
fPercent | float | |
Результат | void |
private void ShowEditorProgressBar(string message, float fPercent)
{
if(UnityEditor.EditorUtility.DisplayCancelableProgressBar("Computing hulls", message, fPercent / 100.0f))
{
CancelComputation();
}
}