
Runtime grid snapping system for Unity with drag, drop, rotation, ghost preview, and 2D/3D camera support. Ideal for level editors, building tools, and design apps.GridSnapper is a lightweight, flexible runtime placement system for Unity developers who need grid-based object snapping and interaction during gameplay or user-controlled editing.Perfect for level editors, building/renovation apps, educational tools, design systems, or in-game construction interfaces. GridSnapper uses built-in Unity components only — no dependencies — and is suitable for both beginners and pros.Includes a fully working demo scene with top-down and 3D camera toggle, object rotation, and UI-based prefab spawning.🎯 Placeable objects are ghost-previewed and can be rotated or dragged precisely using grid cell direction — not raw mouse input — making the system compatible with both orthographic and perspective cameras.✅ Plug-and-play✅ Mobile & desktop friendly✅ Well-documented, modular C# scriptsBuilt for clarity, speed, and usability — GridSnapper helps you build cleaner UX, faster!✔ Runtime grid-based object placement✔ Rotation snapping (90° with R key)✔ Ghost preview system with custom material✔ Dynamic grid size via GridVisualizer.cs✔ Directional drag input (camera-agnostic)✔ Fully functional demo scene included✔ Top-down / 3D camera toggle support✔ Snap-to-grid object spawn via UI✔ Object boundary clamping✔ Easy-to-extend modular C# scripts✔ Works with mouse and ready for touch input