how to get refresh rate in unity code example Example: unity get refresh rate int hz = Screen.currentResolution.refreshRate;