mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
syntax
This commit is contained in:
parent
fd8023dafe
commit
90674529e0
@ -340,6 +340,7 @@ public void RegisterDelegateDoesntOverwrite()
|
||||
MirrorInvokeType.Command,
|
||||
NetworkBehaviourDelegateComponent.Delegate,
|
||||
false);
|
||||
|
||||
// registering the same name with a different callback shouldn't
|
||||
// work
|
||||
LogAssert.Expect(LogType.Error, "Function " + typeof(NetworkBehaviourDelegateComponent) + "." + nameof(NetworkBehaviourDelegateComponent.Delegate) + " and " + typeof(NetworkBehaviourDelegateComponent) + "." + nameof(NetworkBehaviourDelegateComponent.Delegate2) + " have the same hash. Please rename one of them");
|
||||
|
Loading…
Reference in New Issue
Block a user