Method SetComponent SetComponent(WeaponComponent, Boolean) Declaration public void SetComponent(WeaponComponent component, bool on) Parameters Type Name Description WeaponComponent component System.Boolean on