// Use this for initialization
 void Start()
 {
     shotBulletScript = shotPoint.GetComponent <gunSpawn>();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     shotBulletScript = GetComponentInChildren <gunSpawn>();
 }