executing code after all FixedUpdate calls every fixed frame

I have a piece of code that I want executed every fixed frame. The natural place for it is obviously in FixedUpdate. however, I want it executed the last on every fixed frame. i.e. if it is in a FixedUpdate, I want this to be the last FixedUpdate to execute.

so in short, is there a way to execute a piece of code every fixed frame after all FixedUpdate methods are called (or before any FixedUpdate methods are called)

if there were a LateFixedUpdate the problem I’m posting here would have been solved.

thanx to u all,
Firas

My suggestion would be to have a “timer” coroutine that sets a variable to True and yields WaitForFixedUpdate , then put the code you want to run after the FixedUpdate in LateUpdate inside a check to see if the variable is true; then have the LateUpdate function re-set the boolean to False.