GlitchedTrigger – Smart Trigger Zone with Tag & Layer Filtering
A downloadable GlitchedTrigger
GlitchedTrigger is a lightweight Unity C# script that turns any collider into a smart trigger zone, giving you precise control over which objects activate it.
Using built-in tag and layer filters, you can restrict who triggers the event without needing additional code. It’s fully Inspector-driven — just drop it in, set your filters, and wire up your UnityEvents for enter/exit behavior.
This is perfect for:
-
Triggering UI panels or doors only when a specific object enters
-
Creating zone-based logic for players, enemies, or interactables
-
Cleanly managing trigger behaviors without bloated logic trees
Features:
-
Requires only a trigger-enabled collider
-
Optional tag filter (leave empty for any)
-
Optional layer filter (default -1 allows all)
-
UnityEvents for both
OnTriggerEnter
andOnTriggerExit
-
No coding required after adding the script
License
This script is free to use in personal or commercial Unity projects.
You may:
-
Modify it freely
-
Use it in your own games, assets, tools, and client work
-
Include it as part of larger products
You may not:
-
Resell or repost this script as-is as a standalone product
No credit required, but always appreciated. Go wild — just don’t repackage it as your own product
Published | 9 days ago |
Status | Released |
Category | Assets |
Author | GlitchedWares |
Tags | 2D, 3D, csharp, free, gamedev, glitchedwares, indiedev, systems, Unity, unityscript |
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.