For Windows games, the most straightforward approach is to check the properties of the game EXE, however, this doesn't give the actual Unity build version.
For macOS games, the Unity build version may appear on the app's info, but this can be customized by the developer to show their own