Alpha Raycaster


Alpha Raycaster is a custom raycaster for UI texture-based elements built upon default Graphic Raycaster. It checks texture ...


by Elringus


★★★★★ star rating
Price History +

Alpha Raycaster is a custom raycaster for UI texture-based elements built upon default Graphic Raycaster. It checks texture transparency, before deciding whether to send input events for targeted object, which allows a precise interaction with objects that have a non-rect shapes (like circles, triangles, map regions, text, etc).

WEBGL DEMO  â€¢  DOCUMENTATION

Features:
• Make buttons and any other interactable UI objects of any shape
• Compatible with both mouse and touch input
• Handles any sprite transformations
• Supports all the sprite modes (including filled, tiled, sliced) and sprite atlases
• Works with orthographic and perspective camera modes
• Demo scene with examples included

Be aware, that the plugin only works with Image, RawImage and Text UnityEngine.UI (uGUI) components.