|
static bool | TryCreateRpcEntityForPlayer (ref SystemState state, ref EntityCommandBuffer ecb, PlayerInfo playerInfo, out Entity rpcEntity) |
| Create RPC Entity with SendRpcCommandRequest sent from server to specific client based on PlayerInfo. The returned entity can then be used to send the Rpc Command. One of the parameter is EntityCommandBuffer to be used to create entity and add component.
|
|
◆ TryCreateRpcEntityForPlayer()
static bool TryCreateRpcEntityForPlayer |
( |
ref SystemState | state, |
|
|
ref EntityCommandBuffer | ecb, |
|
|
PlayerInfo | playerInfo, |
|
|
out Entity | rpcEntity ) |
|
inlinestatic |
Create RPC Entity with SendRpcCommandRequest sent from server to specific client based on PlayerInfo. The returned entity can then be used to send the Rpc Command. One of the parameter is EntityCommandBuffer to be used to create entity and add component.
- Parameters
-
state | |
ecb | |
playerInfo | |
rpcEntity | |
The documentation for this class was generated from the following file:
- Runtime/Spawning/Utils/RpcCommandSendUtils.cs