Horizontal gravity on One gameobject

Hey guys im new with unity. Right now im making a simple 2D game.
I want to set the gravity of a rigidbody which belong to a certain gameObject. The standard rigidbody pulls down the gameobject but i want to set the gravity to pull the gameObject to the left. I know how to do that in edit - project setting… but that will set the gravity on every rigidbody i have which is a problem in my case. Hope u guys can help, thx u.

You already asked this here and it was answered already so why ask again now?

Please stop double-posting.

Void Update()
{
rigidbody2D.AddForce(Vector2.left * 9.8f);
}