mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkBehaviour.GetMethodHash made internal for tests
This commit is contained in:
parent
e6cd2e2280
commit
e9c6f6f2a9
@ -170,7 +170,7 @@ protected void InitSyncObject(SyncObject syncObject)
|
||||
|
||||
#region Commands
|
||||
|
||||
static int GetMethodHash(Type invokeClass, string methodName)
|
||||
internal static int GetMethodHash(Type invokeClass, string methodName)
|
||||
{
|
||||
// (invokeClass + ":" + cmdName).GetStableHashCode() would cause allocations.
|
||||
// so hash1 + hash2 is better.
|
||||
|
Loading…
Reference in New Issue
Block a user