entity
Call Signature
Section titled “Call Signature”entity(
options?):EntityCommandField&object
Another entity, such as a purchase’s shop: a reader reads it as its own
world’s Entity, or Entity | null with { optional: true }. The wire
carries the key the stream names it by, and the room reads it back as
the reader reaches the command: one gone, or hidden from the sender,
refuses the command entity-gone, naming the field. That proves the
entity is there, not that she may act on it. As Unity’s
NetworkObjectReference and Fusion’s NetworkId.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options? |
EntityFieldOptions & object |
Returns
Section titled “Returns”EntityCommandField & object
Call Signature
Section titled “Call Signature”entity(
options):EntityCommandField&object
Another entity, such as a purchase’s shop: a reader reads it as its own
world’s Entity, or Entity | null with { optional: true }. The wire
carries the key the stream names it by, and the room reads it back as
the reader reaches the command: one gone, or hidden from the sender,
refuses the command entity-gone, naming the field. That proves the
entity is there, not that she may act on it. As Unity’s
NetworkObjectReference and Fusion’s NetworkId.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
EntityFieldOptions & object |
Returns
Section titled “Returns”EntityCommandField & object