Problem with spawn at spawn point with same rotation

The gameObejct, wont follow the “BulletSpawn” rotation. but it follows perfectly at its position.

#pragma strict
var RotateSpeed : int;
var bulletPower : int = 1000;
var bulletPrefab:Transform;
var Cooldown : boolean = false;

function Start () {

}

function Update () {

           
}

function OnMouseDown()
{
if(!Cooldown){
Cooldown = true;
var bullit = Instantiate(bulletPrefab,
                        GameObject.Find("bulletSpawn").transform.position,
                        Quaternion.identity);
        bullit.rigidbody2D.AddForce(Vector2.up * bulletPower);
}


}

function OnMouseUp()
{
Cooldown = false;



}

you are instantiating the bullet at its “Quaternion.identity”, this basically means its “default rotation”. You need to instantiate it at the rotation of the object shooting the bullet

So i should use transform.rotation?