AudioSource.Dispose(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.