Fewer than Fixed Update?

Is there a way to call an update function less than usual, and less than Fixed Update?

Like instead of running every frame (or physics frame) it would run at every other frame, or every 10th frame.

I know that using a coroutine is an option already. Just was wondering if there was some other obscure function out there like … i.e. OccasionalUpdate( int frame) or something.

You can have a method execute its body every n-frames. All you need is the modulus operator %.

public void UpdateEveryNFrames(int repeatRate){
    if(Time.frameCount % repeatRate != 0) return;

    //the method body that is supposed to run at a fixed frame rate
}

This needs to be called from Update. I would recommend sticking with coroutines, though.

If you don’t need to perform a function at a fixed framerate, but instead at a fixed time interval, say every 0.356 seconds, then you should use InvokeRepeating.