- Home /
 
 
               Question by 
               Viper Studios · Sep 20, 2013 at 05:13 PM · 
                0  
              
 
              How to add SFX to thia script
how to add SFX to this script pls help i have no idea #pragma strict var fireballbullet : Transform;
 function Start () {
 
 }
 
 function Update () 
 {
     if (Input.GetKey("space"))
     {
         var bulletfire = Instantiate (fireballbullet,gameObject.Find("Bullet Spawn Point").transform.position,Quaternion.identity);
         bulletfire.rigidbody.AddForce(transform.forward * 50000) ;
     }
 }
 
 
              
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Naming a gui? 1 Answer
Make a code line execute only once 2 Answers
Get which objects are changed during an undo/redo process 1 Answer
Internal compiler error 0 Answers
for not unity 3D for mobile? 1 Answer