Exemplo n.º 1
0
        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();
            }
        }
Exemplo n.º 2
0
 private void OnLevelCompletionTriggerEnterPlayer(CoreInteractiveObject IntersectedInteractiveObject)
 {
     LevelAvailabilityTimelineEventManager.Get().OnLevelCompleted();
 }