14 private static User localUser = null;
29 private void Connected(
object sender = null, EventArgs e = null)
37 usersTracker.
UserLeft += NotifyUserLeft;
40 private void NotifyUserJoined(
User user)
44 Debug.LogFormat(
"[User Notifications] User {0} has joined the room.", user.
GetName());
48 private void NotifyUserLeft(
User user)
52 Debug.LogFormat(
"[User Notifications] User {0} has left the room.", user.
GetName());
56 private void OnDestroy()
58 if (usersTracker != null)
61 usersTracker.
UserLeft -= NotifyUserLeft;