mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Removed old comment
This commit is contained in:
parent
8854eba284
commit
4ae6d21418
@ -558,9 +558,6 @@ internal void HandleClientAuthority(bool authority)
|
|||||||
// helper function to handle SyncEvent/Command/Rpc
|
// helper function to handle SyncEvent/Command/Rpc
|
||||||
internal void HandleRemoteCall(int componentIndex, int functionHash, UNetInvokeType invokeType, NetworkReader reader)
|
internal void HandleRemoteCall(int componentIndex, int functionHash, UNetInvokeType invokeType, NetworkReader reader)
|
||||||
{
|
{
|
||||||
// this doesn't use NetworkBehaviour.InvokeSyncEvent function (anymore). this method of calling is faster.
|
|
||||||
// The hash is only looked up once, insted of twice(!) per NetworkBehaviour on the object.
|
|
||||||
|
|
||||||
if (gameObject == null)
|
if (gameObject == null)
|
||||||
{
|
{
|
||||||
string functionName = NetworkBehaviour.GetCmdHashHandlerName(functionHash);
|
string functionName = NetworkBehaviour.GetCmdHashHandlerName(functionHash);
|
||||||
|
Loading…
Reference in New Issue
Block a user