private void OnShowPage(TutorialPage page, int index) { m_FarthestPageCompleted = Mathf.Max(m_FarthestPageCompleted, index - 1); ApplyMaskingSettings(true); AnalyticsHelper.PageShown(page, index); PrepareNewPage(); }
void OnShowPage(TutorialPage page, int index) { page.RaiseOnBeforePageShownEvent(); m_FarthestPageCompleted = Mathf.Max(m_FarthestPageCompleted, index - 1); ApplyMaskingSettings(true); AnalyticsHelper.PageShown(page, index); PrepareNewPage(); videoPlaybackManager.ClearCache(); page.RaiseOnAfterPageShownEvent(); }