SetTranslationOffset(int, Vector3)
Sets the translation offset associated with a source by index.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public void SetTranslationOffset(int index, Vector3 value)
Parameters
Remarks
Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.