Only Disable One Update on a Script

Say I have a script with two loops:

void Update() {
    Debug.Log("Update");
}

void FixedUpdate() {
    Debug.Log("FixedUpdate");
}

If I wanted to disable the script from looping, I would use:

this.enabled = false;

But what if I only wanted to disable either the FixedUpdate()? or Update()? I can only have both, or none.

So is there a way to disable one of the loops, without having to write something like this?

bool update, fixedUpdate;

void Update() {
    if(update)
        Debug.Log("Update");
}

void FixedUpdate() {
    if(fixedUpdate)
        Debug.Log("Fixed Update");
}

If I did that, I’m still calling the Update() and FixedUpdate(), which is pretty wasteful.

Any ways around this?

Thanks.

One solution then might be to have an empty game object and add two objects to it one with a script that calls Update and the other with a script that calls FixedUpdate, then you could enable/disable as you wished.