private void ClearFilterCoroutines()
 {
     if (this.filterCoroutine != null)
     {
         GameLevel.StopCoroutine(this.filterCoroutine);
     }
     PostProcessing.ClearFilter();
     this.filterCoroutine = null;
 }
 public void Disorient()
 {
     PostProcessing.SetFilter("Sick");
     if (this.filterCoroutine == null)
     {
         Debug.Log("DISORIENT");
         this.filterCoroutine = GameLevel.StartCoroutine(SickCoroutine());
     }
 }
        public void DropHit()
        {
            if (GameLevel == null)
            {
                return;
            }

            PostProcessing.SetFilter("Tripping");
            GameLevel.SetVariable("player", "tripping");

            if (this.filterCoroutine == null)
            {
                this.filterCoroutine = GameLevel.StartCoroutine(TrippingCoroutine());
            }
        }
 public void IgnorePlaything()
 {
     PostProcessing.ClearFilter();
     ClearFilterCoroutines();
 }