Property | Type | Description | |
---|---|---|---|
checkVision | bool | ||
fieldOfViewAngle | float | ||
santaInSight | bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
GetRayPos1 ( ) : Vector3 | ||
GetRayPos2 ( ) : Vector3 | ||
OnTriggerExit ( Collider other ) : void | ||
OnTriggerStay ( Collider other ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
PersonSeen ( ) : IEnumerator |
public OnTriggerExit ( Collider other ) : void | ||
other | Collider | |
return | void |
public OnTriggerStay ( Collider other ) : void | ||
other | Collider | |
return | void |