Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


RemoveSource(int)

Removes a source from the component.
Read time 1 minuteLast updated 6 days ago

Definition

public void RemoveSource(int index)

Parameters

index

The index of the source to remove.

Remarks

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.