How To Remove Yourself From The Field

You may "leave" the field and notify remote clients that you have "left".

You may need to notify remote clients that your client is no longer in the field.

The example below shows how to send a notification of client disappearance and the event listener to handle notifications from the remote clients.

// This is the event handler for remote client disappearance
field.OnDisappear += HandleDiarkisFieldDisappear;

// Notify all remote clients within the field of view that you are no longer in the field

private void HandleDiarkisFieldDisappear(string uid)
  // uid is the User ID of the client disappeared

Last updated