void OnProgressStateChanged(SetProgressStateAction.ProgressState newData)
        {
            if (!m_Initialized)
            {
                return;
            }

            switch (newData)
            {
            case SetProgressStateAction.ProgressState.NoPendingRequest:
            {
                m_ProgressIndicatorControl.StopLooping();
                break;
            }

            case SetProgressStateAction.ProgressState.PendingIndeterminate:
            {
                m_ProgressIndicatorControl.StartLooping();
                break;
            }

            case SetProgressStateAction.ProgressState.PendingDeterminate:
            {
                float percent = 1;
                if (m_ProgressTotalCountGetter.GetValue() != 0)
                {
                    percent = (float)m_ProgressCurrentGetter.GetValue() / m_ProgressTotalCountGetter.GetValue();
                }

                m_ProgressIndicatorControl.SetProgress(percent);
                break;
            }
            }
        }
 void OnProgressStateChanged(SetProgressStateAction.ProgressState newData)
 {
     if (newData == SetProgressStateAction.ProgressState.NoPendingRequest)
     {
         m_ProgressIndicatorDialog.Close(true);
     }
     else
     {
         m_ProgressIndicatorDialog.Open(true);
     }
 }