PixelCrushers.GameTime Class Reference

This is a wrapper around Unity's Time class that allows you to specify a mode: UnityStandard (Time.time), Realtime (Time.realtimeSinceStartup), or Manual (you set the time values each frame). More...

Properties

static GameTimeMode mode [get, set]
 
static float time [get, set]
 
static float deltaTime [get, set]
 
static float timeScale [get]
 
static bool isPaused [get, set]
 

Detailed Description

This is a wrapper around Unity's Time class that allows you to specify a mode: UnityStandard (Time.time), Realtime (Time.realtimeSinceStartup), or Manual (you set the time values each frame).

Property Documentation

◆ deltaTime

float PixelCrushers.GameTime.deltaTime
staticgetset

◆ isPaused

bool PixelCrushers.GameTime.isPaused
staticgetset

◆ mode

GameTimeMode PixelCrushers.GameTime.mode
staticgetset

◆ time

float PixelCrushers.GameTime.time
staticgetset

◆ timeScale

float PixelCrushers.GameTime.timeScale
staticget

The documentation for this class was generated from the following file: