SmartPlacementKit is a powerful and modular toolkit that brings real-time, in-game 2D object placement to your Unity project. Unlike traditional editor-only tools, SPK allows players to intuitively place, rotate, and confirm objects directly during gameplay, using mouse, touch, or UI controls.
Whether you're creating a tower defense game, a base-building sim, or any game that requires precise object positioning, SPK helps you deliver a seamless and satisfying in-game placement experience.
Key Benefits:
- 🎯 Intuitive Placement Flow: Move, rotate, scale, and confirm placement with mouse, keyboard, or UI buttons.
- 🎮In-Game Execution: All placement operations happen during gameplay—no scene editing required.
- 🎨 Visual Feedback: Real-time color indicators clearly show valid and invalid areas.
- ⚙️ Highly Customizable: Configure blocking layers, containment rules, snapping angles, and input modes.
- 🧩 Event-Driven Logic: Built-in callbacks like OnMoved, OnRotated, and OnPlacementConfirmed enable easy integration into game logic.
- 🧠 Scriptable APIs: Call Reactivate(), ConfirmPlacement(), or ResetRotation() directly from your UI or logic scripts.
- 🔄 Editable After Placement: Reactivate placed objects and allow players to reposition them dynamically.
- 🛠 Zero Dependencies: Clean C# code with no third-party packages required.
Includes:
- 2. Tower Defense Prototype📁 Two fully working demo scenes:
1. Simple Placement Demo
- 📄 Complete documentation and ReadMe
- 💡 Designed for Unity 2019.4+ with 2D workflows
🔖 Third-Party Content Notice:
This package includes third-party assets from Kenney.nl used under the CC0 license, which allows commercial use without attribution.
For details, see the Third-Party Notices.txt file included in the package.