Anvil
Anvil.API.Events.OnTriggerEnter Class Reference

Called when an object enters a trigger. More...

+ Inheritance diagram for Anvil.API.Events.OnTriggerEnter:
+ Collaboration diagram for Anvil.API.Events.OnTriggerEnter:

Classes

class  Factory
 

Properties

NwGameObject EnteredObject = null! [get]
 Gets the object that entered the trigger. More...
 
bool IsTrap [get]
 Gets if the trigger is considered a trap. More...
 
bool IsTrapForceSet [get]
 Gets if the trigger was force set. More...
 
bool Skip [get, set]
 Gets or sets whether this trigger should fire. More...
 
NwTrigger Trigger = null! [get]
 Gets the trigger that was entered. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Called when an object enters a trigger.

Property Documentation

◆ EnteredObject

NwGameObject Anvil.API.Events.OnTriggerEnter.EnteredObject = null!
get

Gets the object that entered the trigger.

◆ IsTrap

bool Anvil.API.Events.OnTriggerEnter.IsTrap
get

Gets if the trigger is considered a trap.

◆ IsTrapForceSet

bool Anvil.API.Events.OnTriggerEnter.IsTrapForceSet
get

Gets if the trigger was force set.

◆ Skip

bool Anvil.API.Events.OnTriggerEnter.Skip
getset

Gets or sets whether this trigger should fire.

◆ Trigger

NwTrigger Anvil.API.Events.OnTriggerEnter.Trigger = null!
get

Gets the trigger that was entered.


The documentation for this class was generated from the following file: