Esempio n. 1
0
    static void OpenProgressBarWindow()
    {
        if (m_PluginWindow != null)
        {
            m_PluginWindow.Close();
        }

        m_PluginWindow = CreateInstance <ProgressBarWindow>();

        m_StartTime = 0;
        m_NowTime   = 0;
        m_Progress  = 0;


        m_PluginWindow.Open();
        Task.Run(() =>
        {
            _ = UpdateProgressAsync();
        });
    }