Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Game Toolkits
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/4
Enhanced Trigger Box is a highly customisable trigger box that allows developers to create events that are triggered when an object enters a specified area.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.34f1
Compatible
Compatible
Compatible
Description

Enhanced Trigger Box is a highly customisable trigger box that allows developers to create events that are triggered when an object enters a specified area.



Full Documentation



Please note that example scene in this version of the ETB has been built with Unity 6.0 and is not guaranteed to work with drastically older or newer versions of the engine. However, the script itself will work in any engine version from Unity 5.0 onward. The examples directory is fully optional and if you have no desire to explore it (or are worried about engine incompatibles), you do not need to import that directory and instead you can just import the scripts directory.



The Enhanced Trigger Box is a free tool that can be used within Unity. It allows developers to set up various responses to be executed when an object enters a specified area. Developers can also set up conditions that must be met before the responses are executed, such as camera conditions where, for example, a player must not be looking at a specific object, or player preference conditions, such as progress through a level. Responses are executed after all conditions have been met. These range from spawning GameObjects or disabling components to playing animations or altering material properties.



It has been designed in a way that allows you to easily extend the Enhanced Trigger Box yourself by creating more responses or conditions.



How does it all work? At the top level, you have the Enhanced Trigger Box script. It includes some basic options and uses a box collider to represent the boundaries of the Enhanced Trigger Box. Beneath that, you have Enhanced Trigger Box Components, which are MonoBehaviours that you can add to the Enhanced Trigger Box. These come in the form of either a Condition or a Response and are located in the `Scripts/TriggerBoxComponents` folder.



When an Enhanced Trigger Box is entered by another object with a collider (you can disable this entry check if you want, and it will be treated as 'entered' on initialization), all the conditions are checked to see if each condition has been met. If all the conditions are met, all the responses are executed.



New conditions and responses are in development and it's very easy for you to add your own. To learn how to add your own conditions or responses or to see the existing ones in detail follow the documentation link at the top of this text.

Enhanced Trigger Box

(61)
373 users have favourite this asset
(373)
FREE
License type
File size
2.3 MB
Latest version
0.5.0
Latest release date
Feb 10, 2025
Original Unity version
5.4.0 or higher
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR