Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkDiscovery.OnReceivedBroadcast

public void OnReceivedBroadcast(string fromAddress, string data);

Parameters

fromAddress The IP address of the server.
data The data broadcast by the server.

Description

This is a virtual function that can be implemented to handle broadcast messages when running as a client.