Example #1
0
 /// <summary>
 /// Event handler called when the <see cref="Parents" /> component has an error while loading.
 /// </summary>
 void OnParentsError(Parents parents)
 {
     Debug.Log(parents.Error);
     this.TurnParentsContentOff(false);
 }
Example #2
0
 /// <summary>
 /// Event handler called when the <see cref="Parents" /> component finishes loading.
 /// </summary>
 void OnParentsComplete(Parents parents)
 {
     this.TurnParentsContentOn(true);
 }