public static void ShotFired(BaseProjectile baseProjectile) { baseProjectile.numShotsFired++; baseProjectile.SetFieldValue("lastShotTime", UnityEngine.Time.time); }