public override void Initialize() { base.Initialize(); var rangedWeapon = Owner.GetComponent <RangedWeaponComponent>(); capacitorComponent = Owner.GetComponent <HitscanWeaponCapacitorComponent>(); rangedWeapon.FireHandler = Fire; }