Make sure "FireFrom" is spelled the same inside the hierarchy and the script. Also check that the script is attached to the TurretHead gameobject (just as a formality). I would throw an debug exception to see if the FireFrom gameobject comes back as null.
fireFrom = transform.Find("FireFrom").gameObject;
if (fireFrom == null)
Debug.LogError("No child with the name 'FireFrom' attached to TurretHead.");
↧