Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

RotationConstraint.RemoveSource

Declaration

public void RemoveSource(int index);

Parameters

index The index of the source to remove.

Description

Removes a source from the component.

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