Example #1
0
 public override void Dispose()
 {
     GalaxyInstance.ListenerRegistrar().Unregister(GalaxyTypeAwareListenerLobbyCreated.GetListenerType(), this);
     base.Dispose();
 }
Example #2
0
 public GalaxyLobbyCreatedListener(Action <GalaxyID, LobbyCreateResult> callback)
 {
     this.callback = callback;
     GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyCreated.GetListenerType(), this);
 }