Exemple #1
0
 public void StopEffect(NodeRemoveEvent evt, WeaponStreamMuzzleFlashNode node)
 {
     node.weaponStreamMuzzleFlash.EffectInstance.Stop(true);
     node.weaponStreamMuzzleFlash.LightInstance.enabled = false;
 }
Exemple #2
0
 public void StartEffect(NodeAddedEvent evt, WeaponStreamMuzzleFlashNode node)
 {
     node.weaponStreamMuzzleFlash.EffectInstance.Play(true);
     node.weaponStreamMuzzleFlash.LightInstance.enabled = true;
 }