View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.62 or later
- Package size
- 56.8 MB
- Files
- 64
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.99 on
Keywords
Lightweight Interaction System
Lightweight, flexible interaction system that uses raycasting.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Lightweight Interaction System screenshot 1
About this asset
The Lightweight Interaction System is a plug-and-play tool for adding player interaction to objects, puzzles or anything else in your Unity game. The system works through a raycast from the player’s camera, detecting objects on an interactable layer and triggering their behavior. Each object type can respond differently — from simple toggles, sound effects, to fully physical interactions.
Included are several example prefabs that demonstrate how to use and extend the system:
- A button that presses when interacted with
- A lever that flips between on/off states
- A door that smoothly opens and closes
- A consumable apple that destroys itself on use
- A physics apple that can be picked up, held, and thrown
All scripts are clean, commented, and optimized for performance — components are cached whenever possible to avoid unnecessary GetComponent calls. Gizmos are supported.
Easily extendable and ready for your own custom interactions.
If you enjoyed this asset or it helped you in your project, feel free to leave a review and let me know!
From the publisher's Asset Store listing.
Technical details
3 core script:
- PhysicsObject – Manages pickup, hold, and throw functionality.
- PlayerInteractor – Handles raycasting and object detection.
- InteractableObject – Defines custom behavior for each interactable.
- Example prefabs: button, lever, door, consumable apple, throwable apple.
- Example scene demonstrating setup and use.
Features:
- Simple layer-based detection system
- Easy to extend for custom interactions
- Includes fully functional sample interactables
- Clean, commented C# scripts ready for modification
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.62f3 | Compatible | Compatible | Compatible | Compatible |
- The example scene uses Text Mesh Pro.
- The example scene makes use of the Modular First Person Controller asset by Jess Case, but it is not required for this asset to work.
- The example models use the built in pipeline and will need to be converted if you are using a different pipeline, but they are not required for this asset to work.
As listed on the Asset Store.