Method group is Obsolete

NetworkServer.dontListen

Cambiar al Manual
Obsolete public static bool dontListen ;

Descripción

Si usted habilitad esto, el servidor no escuchará por conexiones entrantes en el puerto de red regular.

This can be used if the game is running in host mode and does not want external players to be able to connect - making it like a single-player game. Also this can be useful when using AddExternalConnection().