Class NwTrigger
A trigger volume entity.
public sealed class NwTrigger : NwTrappable, IEquatable<NwObject>
- Inheritance
-
NwTrigger
- Implements
- Inherited Members
- Extension Methods
Properties
- IsValid
Gets a value indicating whether this is a valid object.
Methods
- Clone(Location, string?, bool)
Creates a copy of this game object.
- GetObjectsInTrigger(ObjectTypes)
Gets all objects of the given types that are currently in this trigger.
- GetObjectsInTrigger<T>()
Gets all objects of the given type that are currently in this trigger.
Events
- OnDetectModeUpdate
Called when an object enters a trigger.
- OnTrapEnter
Called when a game object enters a trap trigger.