





GetComponent
- we can get other components that are attached to the same Game Object this script is attached to by calling “GetComponent” and we put that component into a variable
RigidBody2D.AddForce
- public void AddForce(Vector2 force, ForceMode2D mode = ForceMode2D.Force);
- ForceMode2D
- ForceMode2D.Force – Add a force to the Rigidbody2D, using its mass.
- ForceMode2D.Impulse – Add an instant force impulse to the rigidbody2D, using its mass.

