Documentation

Unity Engine

Download Unity

Unity Engine

Dispose()

Releases the memory that the data holds.
Read time 1 minuteLast updated 4 hours ago

Definition

public void Dispose()

Remarks

Call this method when you no longer need the data. After you call it, FreeformBlendSpace2DData.IsCreated is false. If safety checks are enabled, passing the data to a weight function of BlendSpaceUtility then throws an exception. Without safety checks, the function reads released memory, and the result is undefined.