The '''ReferenceEqualityDriver''' component checks the equality of two objects and says whether they are equal. For objects that define their own behavior for checking Equality (Like Bounding boxes) this will check based on that logic (for Bounding boxes they only need to be numerically equal, like being the same size and center).
|Target|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv2=true| The boolean field to drive to whether <code>TargetReference</code> and <code>Reference</code> are equal. Doesn't always mean they are the exact same object.
|Invert|Bool|
|Invert|Bool| Whether to invert the result sent to <code>Target</code>.
}}
}}
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Attach to a slot and provide a reference object to check against, or provide nothing to check against if null or not null. Then put in a field to check for a reference inside of, and the component will start working.
Reference Equality Driver`1 component as seen in the Scene Inspector
The ReferenceEqualityDriver component checks the equality of two objects and says whether they are equal. For objects that define their own behavior for checking Equality (Like Bounding boxes) this will check based on that logic (for Bounding boxes they only need to be numerically equal, like being the same size and center).
Attach to a slot and provide a reference object to check against, or provide nothing to check against if null or not null. Then put in a field to check for a reference inside of, and the component will start working.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.