private void CalcRoutePoint() { Vector3[] array = MiscCalculateUtils.CalculateBezierPoint(tweenPath.nodes[0], tweenPath.nodes[2], _fLength); tweenPath.nodes[1] = array[0]; tweenPath.nodes[3] = array[1]; tweenPath.nodes[4] = tweenPath.nodes[0]; }
private void CalcRoutePoint() { Vector3[] array = MiscCalculateUtils.CalculateBezierPoint(this.tweenPath.nodes.get_Item(0), this.tweenPath.nodes.get_Item(2), this._fLength); this.tweenPath.nodes.set_Item(1, array[0]); this.tweenPath.nodes.set_Item(3, array[1]); this.tweenPath.nodes.set_Item(4, this.tweenPath.nodes.get_Item(0)); }