theres my code so far...But I am getting that error for the transform.find part. If I change it it works fine. thank you in advance.
var bulletPrefab:Transform;
function Awake()
{
}
function Update()
{
if(Input.GetMouseButtonDown(0))
{
Shoot();
}
}
function Shoot()
{
var bullet : GameObject = Instantiate(bulletPrefab , transform.Find("projRelease").transform.position ,Quaternion.identity);
//ejectSound.Play();
bullet.rigidbody.AddForce(transform.forward * 1000);
}