unity how to get the frame rate of your game code example Example: how to set the frame rate unity Application.targetFrameRate = 300;