From 9b9292a6650f0f293bb198337f88dccac48ba98c Mon Sep 17 00:00:00 2001 From: Anton Tarasenko Date: Tue, 13 Jul 2021 05:21:27 +0700 Subject: [PATCH] Fix incorrect description for `OnTick()` event --- sources/Unreal/UnrealAPI.uc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sources/Unreal/UnrealAPI.uc b/sources/Unreal/UnrealAPI.uc index 37e5877..34ef435 100644 --- a/sources/Unreal/UnrealAPI.uc +++ b/sources/Unreal/UnrealAPI.uc @@ -33,11 +33,14 @@ protected function Constructor() * Signal that will be emitted every tick. * * [Signature] - * void (float delta) + * void (float delta, float dilationCoefficient) * - * @param delta In-game time in seconds that has passed since the last tick. - * To obtain real time passed from the last tick multiply `delta` by - * `1.1 / level.timeDilation`. + * @param delta In-game time in seconds that has passed since + * the last tick. To obtain real time passed from the last tick divide + * `delta` by `dilationCoefficient`. + * @param dilationCoefficient How fast is in-game time flow compared to + * the real world's one? `2` means twice as fast and + * `0.5` means twice as slow. */ /* SIGNAL */ public final function Unreal_OnTick_Slot OnTick(