public void Fire(bool direction, int level, int angle, Vector3 origin, Mode mode) { GameObject proj = factory.getProjectile(mode, new Vector3(origin.x, origin.y, 0f)); Debug.Log("DID GRENADE MAKE IT THIS FAR"); proj.GetComponent <IProjectile>().Fire(direction, angle, angle); }