Version: 2023.1

Time.captureDeltaTimeRational

切换到手册
public static Unity.IntegerTime.RationalTime captureDeltaTimeRational ;

描述

Slows your application’s playback time to allow Unity to save screenshots in between frames.

Same as captureDeltaTime but using a RationalTime representation. The returned timeAsRational shares the same discretization increment value (TicksPerSecond). Setting it to a value of 0 or invalid restores the normal Unity time management.