Documentation

Unity Engine

Download Unity

Unity Engine

RemoveSource(int)

Removes a source from the component.
Read time 1 minuteLast updated a month 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.