Property | Type | Description | |
---|---|---|---|
currentArea | string | ||
isMoving | bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
OnTriggerEnter ( Collider col ) : void |
Detects when the object enters a trigger and updates the currentArea if the object is not tagged with Floor.
|
|
Start ( ) : void | ||
Update ( ) : void |
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | |
return | void |