ドキュメント

Unity Engine

Unity Engine

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

localIdentifierInFile

The local file identifier.

Returns

Type

Description

ObjectThe loaded Object from the ContentFile.

Remarks

This method will raise an exception if when called ContentFile.LoadingStatus is not LoadingStatus.Completed.