Click or drag to resize

ReInputTimeHelper Class

Provides access to time-related data. This is mostly for accurate unscaled time comparisons for button and axis times.
Inheritance Hierarchy
SystemObject
  CodeHelper
    RewiredReInputTimeHelper

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class TimeHelper : CodeHelper

The ReInputTimeHelper type exposes the following members.

Properties
  NameDescription
Public propertycurrentFrame
The current frame in the current update loop. This value does not match UnityEngine.Time.frameCount.
Public propertyunscaledDeltaTime
Unscaled time since the last update in the current update loop. Always use this when doing current time comparisons for button and axis active/inactive times instead of Time.time or Time.unscaledTime.
Public propertyunscaledTime
Current unscaled time since start of the game. Always use this when doing current time comparisons for button and axis active/inactive times instead of Time.time or Time.unscaledTime.
Top
See Also