Slow down world time

Hi Coders !

So I’ve bene looking up how to slow down time in Unity for a bit now and I seem to simply find how to make certain aspects slower, but I am looking for a more overall slowing down. Just for info. Because I’m curious.

Is there a way to slow down everything in a scene without individually altering objects ? For example, lets say I have a player in a room with 4 flames, can I slow down the motion of the flames as an overall game setting or do I have to access the flames individually and modify their speed ?

Hyper

public float timeScale = 1f;

void Update() {
    Time.timeScale = timeScale;
}

Attach this to an empty game object then adjust the Time Scale in the inspector.

Time.timeScale