// Amplify Motion - Full-scene Motion Blur for Unity Pro // Copyright (c) Amplify Creations, Lda using System; using System.Collections.Generic; using UnityEngine; [AddComponentMenu( "" )] [RequireComponent( typeof( Camera ) )] sealed public class AmplifyMotionPostProcess : MonoBehaviour { private AmplifyMotionEffectBase m_instance = null; public AmplifyMotionEffectBase Instance { get { return m_instance; } set { m_instance = value; } } void OnRenderImage( RenderTexture source, RenderTexture destination ) { if ( m_instance != null ) m_instance.PostProcess( source, destination ); } }