NetEntity
Used to synchronize the state and behavior of game objects in online games.
Instance Properties
NetEntity.isLocalObject : boolean |
| (Read-only) Checks whether the current entity is a local game object. |
NetEntity.prefabID : string |
| (Read-only) Prefab id. |
NetEntity.clientID : number |
| (Read-only) Client id. |
NetEntity.entityID : number |
| (Read-only) Entity id. Represents the unique identifier of an entity in the network. |
NetEntity.isEnableInterpolation : boolean |
NetEntity.positionThreshold : number |
| The position critical point of the game object. |
NetEntity.scaleThreshold : number |
| The game object's scaling threshold. |
NetEntity.rotationThreshold : number |
| The game object's rotation critical point. |
NetEntity.positionVelocity : number |
NetEntity.scaleVelocity : number |
NetEntity.rotationVelocity : number |
NetEntity.syncMask : NetEntitySyncMask |
Instance Method
NetEntity.setAssignable ( ) : void |
NetEntity.Teleport ( position : Vector3 ) : void |
