get the fps of the game unity code example Example: unity how to get fps c# print((int)(1.0f / Time.smoothDeltaTime));