GetObject(ulong)
Used to access objects within the ContentFile by local file identifier.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Loading
- Assembly: UnityEngine.ContentLoadModule
public Object GetObject(ulong localIdentifierInFile)
Parameters
The local file identifier.
Returns
Type | Description |
|---|---|
| Object | The loaded Object from the ContentFile. |
Remarks
This method will raise an exception if when called ContentFile.LoadingStatus is not LoadingStatus.Completed.