public static void Accelerate(this Rigidbody rigidbody, float acceleration, Axis axis = Axis.XYZ) { rigidbody.Accelerate(new Vector3(acceleration, acceleration, acceleration), axis); }
public static void Accelerate(this Rigidbody rigidbody, float speed, Axes axes = Axes.XYZ) { rigidbody.Accelerate(new Vector3(speed, speed, speed), axes); }