Ejemplo n.º 1
0
 /// <summary>
 /// On disable, we stop listening to MMPostProcessingTriggerEvents
 /// </summary>
 protected virtual void OnDisable()
 {
     MMPostProcessingMovingFilterEvent.Unregister(OnMMPostProcessingMovingFilterEvent);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Turns the post processing effect on
 /// </summary>
 protected virtual void PostProcessingTriggerOn()
 {
     MMPostProcessingMovingFilterEvent.Trigger(new MMTweenType(MMTween.MMTweenCurve.EaseInOutCubic), true, false, TestDuration, 0);
 }
Ejemplo n.º 3
0
        // TEST METHODS --------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// Toggles the post processing effect on or off
        /// </summary>
        protected virtual void PostProcessingToggle()
        {
            MMPostProcessingMovingFilterEvent.Trigger(MMTween.MMTweenCurve.EaseInOutCubic, false, true, TestDuration, 0);
        }