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