1.0.1
ref(comp): restructure interaction component
- Refactored the interaction system to provide more flexibility and ease of use.
- Updated
addInteractionandremoveInteractionand other exports for better management.
feat(comp): add new interaction callbacks
- Introduced
nearby,onEnter, andonExitcallbacks to enhance interaction responsiveness. - Registered the callbacks properly within their respective instances.
chore(comp): update documentation and improve code comments
- Updated the documentation to align with the new structure and features.
- Improved inline comments for clarity and easier understanding of the code.
fix(comp): improve performance and interaction logic
- Refined the debug visuals and optimized distance checks for better performance.
- Enhanced the
canInteractlogic for item-based interactions.
A big thank you to @Mesrine67 for their help and valuable suggestions during this update! 🙏