implicit operator int
Implicitly converts an EntityId to an integer.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Operator
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
implicit operator int(Int3)
Implicitly converts an to an integer.
EntityIdpublic static implicit operator int(EntityId entityId)
Parameters
The to convert.
EntityIdReturns
Type | Description |
|---|---|
| int | The integer representation of the |
Remarks
This operator is obsolete. To get the raw data of an as a , use EntityId.ToULong instead.
EntityIdulongimplicit operator EntityId(EntityI)
Implicitly converts an integer to an .
EntityIdpublic static implicit operator EntityId(int intValue)
Parameters
Returns
Type | Description |
|---|---|
| EntityId | An |
Remarks
This operator is obsolete and will be removed in a future version.