Class SceneContentLoads.Load
One fetch in flight.
public sealed class SceneContentLoads.Load
- Inheritance
-
SceneContentLoads.Load
- Inherited Members
Fields
What
What is loading, for the overlay's hint and for the timeout warning.
public readonly string What
Field Value
Properties
Progress
0 to 1: the tracked operation's download progress, else 0. Never goes down: an operation reports its own completion until the download's size is known and then the bytes, so its raw reading drops when the download starts; the highest reading so far is kept.
public float Progress { get; }
Property Value
Methods
End()
Finishes this load. Safe to call more than once.
public void End()
Track(AsyncOperationHandle)
The operation whose download progress this load reports. Optional: without one the load counts as not started until it ends.
public void Track(AsyncOperationHandle handle)
Parameters
handleAsyncOperationHandle