예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <summary>
 /// Loads the component asynchronously.
 /// </summary>
 protected IEnumerator LoadAsync()
 {
     this.State = ParentsState.Complete;
     if (this.OnComplete != null)
     {
         this.OnComplete(this);
     }
     yield break;
 }