All you need to do is just attach the MotionTrailGenerator.cs to a GameObject with a SkinnedMeshRenderer on it. Just call the On() & Off() methods.