// Called each frame while the state is set to Play public override void PrepareFrame(Playable playable, FrameData info) { switch(type) { case DynamicTrackType.MouseX: SuperInput.SetMouseX(curve.Evaluate((float)playable.GetTime()), this); break; case DynamicTrackType.MouseY: SuperInput.SetMouseY(curve.Evaluate((float)playable.GetTime()), this); break; } }