Свойство | Type | Description | |
---|---|---|---|
WaitSecondsForEnterAction | float | ||
WaitSecondsForExitAction | float | ||
onEnter | Mode, | ||
onExit | Mode, | ||
repeatTriggerEnter | bool | ||
repeatTriggerExit | bool | ||
source | GameObject | ||
target | Object | ||
triggerEnterCount | int | ||
triggerExitCount | int | ||
triggeringCollider | Collider |
Méthode | Description | |
---|---|---|
OnTriggerEnter ( Collider other ) : void | ||
OnTriggerExit ( Collider other ) : void | ||
onEnterTrigger ( ) : void | ||
onExitTrigger ( ) : void |
public OnTriggerEnter ( Collider other ) : void | ||
other | Collider | |
Résultat | void |
public OnTriggerExit ( Collider other ) : void | ||
other | Collider | |
Résultat | void |