System.Collections.Generic.List.Remove(Wire)

Here are the examples of the csharp api System.Collections.Generic.List.Remove(Wire) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : PinAndWireInteraction.cs
with MIT License
from SebLague

void DestroyWire (Wire wire) {
		wiresByChipInputPin.Remove (wire.ChipInputPin);
		allWires.Remove (wire);
		Pin.RemoveConnection (wire.startPin, wire.endPin);
		Destroy (wire.gameObject);
	}