public void OnPlayerAuth(AuthResultEvent ev) { if (ev.Success) { var player = new ClientPlayer() { UserID = ev.PlayerID }; MainBehaviour.Networking.Send(new JoinWorldEvent()); ClientEvents.PlayerLogin(player); GameObject.SetActive(false); UIManager.Notifications.ShowNotification("Welcome to Lisergy"); } else { Log.Error($"Auth failed"); } }