/// <summary> /// Clears the component and resets it to the default state. /// </summary> public void Clear() { this.StopAllCoroutines(); this.Content.Clear(); this.Error = null; this.State = ParentsState.Unknown; }
/// <summary> /// Loads the component asynchronously. /// </summary> protected IEnumerator LoadAsync() { this.State = ParentsState.Complete; if (this.OnComplete != null) { this.OnComplete(this); } yield break; }