Method group is Obsolete

NetworkTransport.SetMulticastLock

Obsolete The UNET transport will be removed in the future as soon a replacement is ready.

Declaration

public static void SetMulticastLock(bool enabled);

Description

Enable or disable a multicast lock.

On Android a multicast lock is required to be able to receive broadcast packets. Enabling the lock can increase battery drain.

This lock is not needed on other platforms.


Did you find this page useful? Please give it a rating: