A lightweight and easy-to-use 88-key interactive piano system for Unity.
Supports both mouse and physics-based input, suitable for desktop, VR, and prototype environments.This package provides a fully functional 88-key piano with smooth key press animation and audio playback.It supports both mouse click input and physics-based interaction (e.g., VR hands or collider-based input), allowing flexible integration into various projects.The system is designed to be simple and easy to set up, with a centralized controller for managing input and audio settings.Included versions:・ Interactive version: uses trigger-based input for responsive key interaction・Static versions: optimized for visual use or physical blockingA demo scene and a simple test object are included for quick setup and testing.Suitable for:・VR applications・ Music-related projects・Simulations and prototypes・ Interactive environmentsRender Pipeline:・ Universal Render Pipeline (URP)Key Features・88-key piano (white & black keys)・Mouse click input support・Physics-based input (trigger collider)・Smooth key press animation・Configurable audio fade-out・Centralized control via PianoController・Demo scene included for quick setup・Input system can be toggled between mouse click and physics-based interaction via PianoController---------------Assets InfoNumber of textures 0 (uses simple materials)Texture dimensions N/A---------------Polygon CountPiano (without bench)Triangles: 5,020Vertices: 3,033Chair (separate asset)Triangles: 630Total (Piano + Bench)Triangles: 5,650Vertices: 3,378※ Interactive and Static versions share the same base mesh.---------------Mesh / Prefab InfoNumber of meshes prefabs:・Set_Piano_Interactive・Set_Piano_Static・Set_Piano_Static_Collider・Piano_Interactive・Piano_Static・Piano_Chair・Piano_paper---------------🔧Rigging / Hierarchy・Separated Mesh: All keys are separated into individual objects for precise interaction and control.・Pivot Point: Each key is properly aligned with a rear pivot point, allowing natural and realistic press animation without additional setup.・No additional setup required – keys are ready to use out of the box.---------------🎧Scripts & AudioC# ScriptsIncludes custom scripts for:- Mouse click input- Physics-based input (trigger collider)- Toggleable input system via PianoController- Smooth key press animation- Audio playback with fade-out controlAudio ClipsIncludes 88 piano samples (MP3 format).All notes are mapped and automatically assigned based on object naming.---------------Animation count0 (animation is handled via script)Animation typeProcedural (script-driven key press)---------------UV mapping: YesLOD information: No---------------Materials Standard Unity materialsCompatible with basic PBR workflowstextures X




