/// <summary> /// Event handler called when the <see cref="Promo" /> component finishes loading. /// </summary> void OnPromoComplete(Promo promo) { if (this.State != ControllerState.SceneWillDisappear && this.State != ControllerState.SceneDidDisappear) { this.TurnPromoContentOn(true); } }
/// <summary> /// Event handler called when the <see cref="Promo" /> component has an error while loading. /// </summary> void OnPromoError(Promo promo) { Debug.Log(promo.Error); this.TurnPromoContentOff(false); }