⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    LockedTriggerZone MonoBehaviour

    Overview

    The LockedTriggerZone behaviour is a trigger zone that only activates if the character has a specific key code in their inventory key ring.

    Inspector

    LockedTriggerZone

    Properties

    Name Type Description
    Lock Ids String Array An array of IDs for this lock. The player must have an equivalent key in their inventory key ring to activate the trigger zone. IDs can be unique to this lock, or shared between multiple for things like skeleton keys.
    On Trigger Enter UnityEvent The event that is fired when a character enters the trigger collider.
    On Trigger Exit UnityEvent The event that is fired when a character exits the trigger collider.

    See Also

    KeyRing Behaviour

    Unity BoxCollider

    Unity SphereCollider

    Unity CapsuleCollider

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX