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