Interface IContactEventHandlerWithInfo
This is an extended version of IContactEventHandler and can be used to register a Rigidbody with a RigidbodyContactEventManager instance.
This provides additional ContactEventHandlerInfo information to the RigidbodyContactEventManager for each set of contact events it is processing.
Inherited Members
Namespace: Unity.Netcode.Components
Assembly: Unity.Netcode.Runtime.dll
Syntax
public interface IContactEventHandlerWithInfo : IContactEventHandler
Methods
GetContactEventHandlerInfo()
Invoked by RigidbodyContactEventManager for each set of contact events it is processing (prior to processing).
Declaration
ContactEventHandlerInfo GetContactEventHandlerInfo()
Returns
Type | Description |
---|---|
ContactEventHandlerInfo |