Function RuleAnglePenalty.DisposeUnmanagedData
DisposeUnmanagedData
()
Called when the rule is removed or the graph is destroyed.
Public
void DisposeUnmanagedData ()
Called when the rule is removed or the graph is destroyed.
Use this to e.g. clean up any NativeArrays that the rule uses.
Note
The rule should remain valid after this method has been called. However the Register method is guaranteed to be called before the rule is executed again.