🔹 Haptics Lite
Canley Utilities are designed to be high-performance and incredibly easy to integrate.
This haptics suite is engineered to replace generic, “vibration-only” scripts with a refined, qualitative feedback system. By using a static engine, it eliminates the need for scene-based managers or complex initialization, providing instant tactile feedback on Apple and Android hardware.
Whether you are building a sleek mobile interface, a high-intensity combat system, or an immersive physical puzzle, our haptics tool provides a professional, human-centric foundation for your tactile feedback.
Architecture Overview
Haptics Lite is built as a global static utility. This means you can trigger haptics from any script in your project without needing a reference to a GameObject.
- The Static Engine:
CanleyHapticsis the central hub. Because it is static, you callCanleyHaptics.Trigger()directly from anywhere in your code. - The Style Enum:
HapticStyledefines the seven qualitative profiles (from Softest Bump to Triple Pulse). These map automatically to the best available native motor instructions on the device. - The Global Toggle: The
Enabledboolean provides a one-line way to respect player preferences (e.g., a “Disable Haptics” toggle in your settings menu).
Please see the Architecture Overview page for details.