private void pcbMap16_MouseMove(object sender, MouseEventArgs e) { x8LastHover = e.X / 8; y8LastHover = e.Y / 8; HoverChanged?.Invoke(this, new TileChangedEventArgs( XY_ToTile(x8LastHover, y8LastHover), XY_ToPoint(x8LastHover, y8LastHover))); }
void OnHoverChange(int currentHover, int previousHover) { OnHoverEnd(previousHover); if (currentHover >= 0) { transform.GetChild(currentHover).localScale = Vector3.one * 1.3f; } HoverChanged?.Invoke(currentHover); }
internal void onPenHoverSetupResponse(SimpleResultEventArgs args) { HoverChanged?.Invoke(PenClient, args); }