文档

Unity Engine

Download Unity

Unity Engine

TimeData(double, float)

Create a new TimeData struct with the given values.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Constructor
  • Namespace: Unity.Core
  • Assembly: UnityEngine.EntitiesModule
public TimeData(double elapsedTime, float deltaTime)

Parameters

elapsedTime

Time since the start of time collection.

deltaTime

Elapsed time since the last time-updating event occurred.