Documentation

Unity Engine

Unity Engine

RemoveSource(int)

Removes a source from the component.
Read time 1 minuteLast updated 2 months ago

Definition

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.