Engine & Pipeline

  • Unity Version: Supports Unity 2021.3 LTS or higher. Full compatibility has been verified for Unity 6, but may require the steps outlined at the end of this section.
  • Render Pipelines: Supports Built-in, URP, and HDRP pipelines.
  • Colour Space: Compatible with both Gamma and Linear colour spaces. Note: Linear colour space is highly recommended for the most accurate and vibrant gradient reproduction.

TextMesh Pro

  • This asset requires TextMesh Pro. For the smoothest installation in Unity 6, please ensure you have gone to Window > TextMeshPro > Import TMP Essential Resources before importing the Canley Colour Picker package.

Input & Interaction

  • Input Systems: Fully compatible with both the Legacy Input Manager and the Modern Input System. The picker relies on the Canley Core Bridge to detect your project settings automatically.
  • Event Pattern: Uses the C# Action/Observer pattern for zero-overhead performance.

Cross-Platform Support for Haptics

The Canley Colour Picker features a sophisticated Hardware Abstraction Layer (HAL) that detects the user’s device at runtime and delivers the best possible tactile experience.

  • Premium iOS Experience: Features a native Objective-C bridge to the Apple Taptic Engine, supporting Impact, Selection, and Notification feedback styles.
  • High-Fidelity Android Engine: Unlike standard assets, Canley uses the modern VibrationEffect API (API 26+). This allows for custom waveforms and amplitudes, ensuring a “crisp” mechanical feel on modern devices like the Pixel 6/7/8 and Samsung Galaxy series.
  • Intelligent Throttling: Specialized logic for high-frequency UI (like sliders) prevents “haptic grit.” The system samples movements to ensure the hardware produces distinct ticks rather than continuous, muddy vibration.
  • Silent Failover: On PC, Mac, and WebGL, the haptic system is bypassed automatically. No “Missing Method” exceptions or console spam—it just works.
  • Zero-Config Installation: The native bridges (iOS .mm and Android JNI) are pre-configured. No manual move to Assets/Plugins is required.

Unity 6 Installation Notes

  • Materials: If materials appear pink upon import in Unity 6 or URP projects, use the Render Pipeline Converter (Window > Rendering > Render Pipeline Converter), select Built-in to URP, and run the Material Upgrade and click Initialize & Convert. This safely updates the custom shaders to the Universal Pipeline.
  • Input System: If a mismatch is detected between your Project Settings and your Scene’s EventSystem, a one-time migration assistant will appear. This check runs once per project to remain non-intrusive for developers.

Manual Input Migration & Reset

If you postpone the migration, you can always find it at: Tools > Canley Utilities > Input > Migrate to Input System.

Note: This menu item will be greyed out if your scene is already configured correctly.