void OnJumpIn(Vector2Int coords, string serverName, string layerName) { if (view.IsVisible()) { toggleExploreTrigger.RaiseOnTriggered(); } if (string.IsNullOrEmpty(serverName) || string.IsNullOrEmpty(layerName)) { WebInterface.GoTo(coords.x, coords.y); } else { WebInterface.JumpIn(coords.x, coords.y, serverName, layerName); } }
private void JumpIn() { WebInterface.JumpIn((int)currentCoords.x, (int)currentCoords.y, currentRealmServerName, currentRealmLayerName); }
private void JumpIn() { OnClick?.Invoke(); WebInterface.JumpIn((int)currentCoords.x, (int)currentCoords.y, currentRealmServerName, currentRealmLayerName); }