Search Unity

Question Is it possible to show your task in the Background Tasks window?

Discussion in 'Scripting' started by nick-morhun, Nov 4, 2021.

  1. nick-morhun

    nick-morhun

    Joined:
    May 12, 2015
    Posts:
    51
    I am starting to learn the UI Toolkit and I can see that the samples for editor UI don't contain any animation. I suspect that maybe it's something undesirable from performance standpoint. At the same time, I remember a case when I needed to display that a web request from custom editor code was in progress. Now, that Unity has this wonderful Background Tasks window, I was wondering if there is a public API to use it?

    (I tried searching but no luck. I found APIs to display progress bars but this is not perfect for an indefinite task.)
     
  2. SmoothTools

    SmoothTools

    Joined:
    Aug 20, 2014
    Posts:
    4