Operator Equality
Equality(EntityBone, EntityBone)
Determines if two EntityBones refer to the same bone.
Declaration
public static bool operator ==(EntityBone left, EntityBone right)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityBone | left | The left EntityBone. |
| EntityBone | right | The right EntityBone. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|
Equality(EntityBone, Bone)
Determines if an EntityBone refers to a specific bone.
Declaration
public static bool operator ==(EntityBone entityBone, Bone boneId)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityBone | entityBone | The EntityBone to check. |
| Bone | boneId | The Bone ID to check against. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
|