Progetto H — Riferimento API Documentazione & Scripting
Funzione statica Condiviso Veloce

Events.UnsubscribeRemote

Removes a network event listener previously registered with <code>Events.SubscribeRemote()</code>. If no specific callback function is passed, it removes ALL remote listeners for that event name in the current Package

Non ancora tradotto

Sintassi

Lua
Events.UnsubscribeRemote(event_name, callback = nil)

Parametri

Nome Tipo Predefinito Descrizione
event_name string The Event Name to unsubscribe
callback facoltativo function nil The callback function to unsubscribe