public void UpdateVulcanShootingOnSelfTank(EarlyUpdateEvent evt, VulcanWeaponStreamHitShootingControllerNode vulcanShooting, [JoinByTank] SelfActiveTankNode tank) { if (vulcanShooting.cooldownTimer.CooldownTimerSec <= 0f) { base.ScheduleEvent <BeforeShotEvent>(vulcanShooting); base.ScheduleEvent <ShotPrepareEvent>(vulcanShooting); } }
public void ScheduleEventTankHeatingOnSelfTank(NodeAddedEvent evt, VulcanWeaponStreamHitShootingControllerNode vulcanShooting) { base.ScheduleEvent <BeforeShotEvent>(vulcanShooting); base.ScheduleEvent <ShotPrepareEvent>(vulcanShooting); }