Exemplo n.º 1
0
 private void PipeFixedHandler(Pipe pipe)
 {
     pipe.StopFlow();
     _fixedPipes.Push(pipe);
     _currLeakingPipes.Remove(pipe);
     OnPipeFixed?.Invoke(pipe);
     SetPipeState(pipe, LeakState.Sealed);
 }
Exemplo n.º 2
0
 public void FixPipe()
 {
     OnPipeFixed?.Invoke(this);
     if (_debug)
     {
         _rend.color = _debugSealedColor;
     }
 }