TimeValue
Represents a time value.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<TimeValue>
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
Static Methods
Method | Description |
|---|---|
| Milliseconds | Creates a millisecond TimeValue from a float. |
| Seconds | Creates a second TimeValue from a float. |