Room Event - OnLeave

The event is raised when Leave is called. The event is meant to report if the leave operation on the server was success or not.

The event will not be raised when remote clients use Leave.

room.OnLeave += OnRoomLeave;

private void OnRoomLeave(bool success)
  // If success is false, leaving the room has failed.

Last updated