Documentation

Unity Engine

Download Unity

Unity Engine

AsBlobAssetReference()

Returns a blob asset reference to the data that this reference points to.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule
public readonly BlobAssetReference<T> AsBlobAssetReference()

Returns

Type

Description

BlobAssetReference<T>The blob asset reference to the data. The value is a default value if BlobObjectReference<T>.IsValid is
false
.

Remarks

Use this method to read the blob data through the
Value
property of the returned BlobAssetReference<T>. The returned value is a view of the data, not a copy. It stays valid only until you dispose this reference, and you must not dispose the returned value yourself.