Trigger Conditions

psai for Unity ›› Scripts ››
Parent Previous Next


TriggerConditions can be used to further specify when a given Trigger should fire. Just drag them onto any GameObject holding a PsaiTrigger, and they will be evaluated automatically.


PsaiTcSkipIfNotVisible

The Trigger will not fire if the collider is currently not visible in any Camera.


PsaiTcSkipIfComponentIsDisabled

The Trigger will not fire if the referenced component is disabled.


PsaiTcSkipIfThemeTypeIsPlaying

The Trigger will not fire if a Theme of the given ThemeType is currently playing.