Get Velocity Component 2D

Gets a component of the velocity vector of the specified Rigidbody2D.