Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Determines whether the current wire represents the same connection as another wire.
Read time 1 minuteLast updated 8 days ago

Definition

Equals(Wire)

Determines whether the current wire represents the same connection as another wire.
public bool Equals(Wire other)

Parameters

other

The wire to compare with the current instance.

Returns

Type

Description

booltrue if both wires share the same output and input port; otherwise, false.

Equals(Object)

Determines whether the current wire is equal to the specified object.
public override bool Equals(object obj)

Parameters

The object to compare with the current wire.

Returns

Type

Description

booltrue if
obj
is a Wire that represents the same connection as the current wire; otherwise, false.