A downloadable asset pack

Download NowName your own price

This script package for Unity creates an interactable child collider on an object of your choosing. You only have to apply the InteractableChild component to an object and write a script to utilize it. An example code is provided and commented to provide documentation. Edit to your liking. Was made for 3D games, but it could easily be adapted to 2D. The scripts are not within their own namespace, so you may get errors if you have scripts sharing these class names: Interactable, InteractableChild, and InteractionManager.

I recommend having a layer in your project called "Interactable" so that your child colliders can be securely isolated from any collision logic you might implement. You'll get a warning if you don't have an Interactable layer; delete the DisableInteractableWarnings.txt file out of the package folder to stop the warnings.

Only tested in Unity 2022.3.37f1 but should work with any version, it isn't doing anything very complicated. The longest script is 100 lines only because of my silly signatures. I hope you like them! ;3

If you encounter any errors, contact me and I will try to fix them! milkshakebattlecat@gmail.com

This asset is FREE but the option to pay is there if you would like to support me. I'll appreciate you! Credit to MILKSHAKE BATTLECAT if you use this in your project would also be appreciated, but is not necessary :) 

-

Background Image by: [freepik]

Updated 1 day ago
Published 25 days ago
StatusReleased
CategoryAssets
AuthorMILKSHAKEBATTLECAT
Tags3D, helpful, scripts, trigger-area, Unity, utility

Download

Download NowName your own price

Click download now to get access to the following files:

EasyInteractableChild.zip 5.6 kB

Leave a comment

Log in with itch.io to leave a comment.