Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BoundProperty

A BoundProperty is a safe handle to read and write value in a generic way from any Unity components.
Read time 1 minuteLast updated 6 days ago

Definition

public readonly struct BoundProperty : IEquatable<BoundProperty>, IComparable<BoundProperty>

Properties

Property

Description

indexThe index of this BoundProperty to the internal list of bound properties.
versionThe version of the BoundProperty.

Static Properties

Property

Description

NullAn empty BoundProperty object that does not refer to a property.

Methods

Method

Description

CompareToCompares this BoundProperty to a specific BoundProperty.
EqualsChecks if this BoundProperty equals a specified BoundProperty object.
GetHashCodeRetrieves a unique hash based on this BoundProperty.

Operators

Operator

Description

operator ==BoundProperty objects are equal if they refer to the same property.
operator !=BoundProperty objects are not equal if they refer to different properties.