Skip to content

AsyncTaskBase

Graydon edited this page Mar 21, 2017 · 6 revisions

public abstract class AsyncTaskBase

Fields

protected string m_Name
protected float m_Progress
protected int m_ProgressSteps
protected float m_CachedStepCount

Properties

public string name { get; }
public float progress { get; }
public int progressSteps { get; set; }
public bool isExecuting { get; }
public bool completed { get; }
public bool completedOrFailed { get; }
public bool failed { get; }

Constructors

public AsyncTaskBase(string taskName)

Methods

private IEnumerator WaitCoroutine()
public Coroutine WaitTaskCompleted(MonoBehaviour waitWithin)
public void Execute()

Clone this wiki locally