public CharacterMoveAlongPathAction(Vector3[] corners, float maxDistance, float smoothness = 1.0f, bool run = false) { this.corners = corners; this.distances = NeverdawnUtility.CreateDistanceArray(this.corners); this.maxDistance = maxDistance; this.run = run; }