public AnimationCurve GetCurve(int index) { if (index == 0) { return this.eulerX; } if (index == 1) { return this.eulerY; } return this.eulerZ; }