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