Tutorial: Your First 60 Minutes With Motion Matching

I’m following the tutorial, but I’m a bit confused about how the UpdateVariables function should look in the end. Could you please provide more details or a final overview of this function?