Dispose()
Releases this reference to the blob data.
読み終わるまでの所要時間 1 分最終更新 3日前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public void Dispose()
Remarks
After you call this method, BlobObjectReference<T>.IsValid is for this copy and you must not use pointers or blob asset references that you obtained from it. Disposing a default or already disposed reference has no effect.
falseCopies of the struct share the same underlying reference, and disposing one copy doesn't invalidate the others. Dispose only one copy of each reference, and use BlobObjectReference<T>.Clone to get an independent one. This method is thread safe.