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