Here’s how you can post inline code with CodeTags .
If you can edit the above as I’m trying to figure out the line with the error.
The code you attached is pretty much empty, it’s this:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Gun : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}