public class NewBehaviourScript1 : MonoBehaviour {
public GameObject grenade_prefab;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if(Input.GetButton("Fire1")(
}
}
Ive just started this new script and ive made a grenade prefab and im trying to attach to the script in unity but the gameobject bit isnt showing up in the inspector column could someone please help me?