文档

Unity Engine

Unity Engine

TimeValue

Represents a time value.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct TimeValue : IEquatable<TimeValue>

Constructors

Constructor

Description

TimeValue(System.Single)Creates from a float and an optional TimeUnit.
TimeValue(System.Single,UnityEngine.UIElements.TimeUnit)Creates from a float and an optional TimeUnit.

Properties

Property

Description

unitThe unit of the value property.
valueThe time value.