public void HideOutlineRenderersOnDeadState(NodeAddedEvent evt, [Combine] InitializedOutlineTankPartNode renderer, [Context, JoinByTank] AssembledActivatedInitializedOutlineTankNode tank, [Context, JoinByTank] DeadTankNode state)
 {
     renderer.tankPartOutlineEffectUnity.SwitchOutlineRenderer(false);
 }
 public void ShowOutlineRenderersOnSemiActiveState(NodeAddedEvent evt, [Combine] InitializedOutlineTankPartNode renderer, [Context, JoinByTank] AssembledActivatedInitializedOutlineTankNode tank, [Context, JoinByTank] SemiActiveTankNode state)
 {
     renderer.tankPartOutlineEffectUnity.SwitchOutlineRenderer(true);
 }
 public void HideOutlineRenderersOnDeadState(NodeRemoveEvent evt, DeadTankNode tank, [Combine, JoinByTank] InitializedOutlineTankPartNode renderer)
 {
     renderer.tankPartOutlineEffectUnity.SwitchOutlineRenderer(false);
     tank.tankPartOutlineEffectUnity.UpdateTankPartOutlineEffectTransparency(0f);
 }