private void SnapTimeToFrame() { float newTime = state.FrameToTime(time.frame); SetCurrentTime(newTime); }