Show / Hide Table of Contents

Class RealTimeSinceStartupProvider

Uses UnityEngine.Time.realtimeSinceStartup. Good for if you want to do stuff inside the editor without having to actually having the game playing. Unlike Time.time, this value doesn't get scaled by timeScale.

Inheritance
System.Object
RealTimeSinceStartupProvider
Implements
ITimeProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Recolude.Core.Time
Assembly: Recolude.Core.dll
Syntax
public class RealTimeSinceStartupProvider : ITimeProvider

Methods

CurrentTime()

Declaration
public float CurrentTime()
Returns
Type Description
System.Single

Implements

ITimeProvider
Back to top Generated by DocFX