Untitled
unknown
csharp
2 years ago
304 B
6
Indexable
public class SomeComponent : MonoBehaviour
{
public NetEventChannel LocalNetChannel;
public void Start()
{
NetChannel.BindTo<ConnectionMessage>(OnConnectionUpdated);
}
public void OnDestroy()
{
NetChannel.UnbindFrom<ConnectionMessage>();
}
}
Editor is loading...
Leave a Comment