public void CircuitChanged() { if (Out != null) { Out.CircuitChanged(); } }
public void CircuitChanged() { if (Out != null) { Out.CircuitChanged(); _lineRenderer.startColor = _lineRenderer.endColor = value == 1 ? Color.red : Color.blue; } }