文档

Unity Engine

Unity Engine

RemoveSource(int)

Removes a source from the component.
阅读时间1 分钟最后更新于 1 个月前

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.