AudioSource.Dispose(Boolean) Method

Definition

Releases the resources used by the AudioSource object.

protected override void Dispose(bool disposing);
override this.Dispose : bool -> unit

Parameters

disposing
Boolean

If set to true, the method is invoked directly and will dispose managed and unmanaged resources; If set to false the method is being called by the garbage collector finalizer and should only release unmanaged resources.

Applies to