public void Tick() { if (TriggerLevelSuccessEvent) { LevelAvailabilityTimelineEventManager.Get().OnLevelCompleted(); TriggerLevelSuccessEvent = false; } if (ShowDiscussionWindow) { ShowDiscussionWindow = false; this.ProceduralText = new ProceduralText(this.TextDisplayed, this.GeneratedTextDimensionsComponent, this.TextObject); this.ProceduralText.CalculateCurrentPage(); } if (this.ProceduralText != null) { this.ProceduralText.Increment(); } }
private void OnLevelCompletionTriggerEnterPlayer(CoreInteractiveObject IntersectedInteractiveObject) { LevelAvailabilityTimelineEventManager.Get().OnLevelCompleted(); }