BoxSensor is a simple sensor that uses a fixed size box collider to detect Aspects. More...
Public Member Functions | |
BoxSensor () | |
Default constructor. | |
void | Start () |
Start() is the Unity event handler initializing the object on game startup. | |
Protected Member Functions | |
virtual bool | CreateEvidence (GameObject evidence) |
CreateEvidence tells the RAIN Belief system to add new evidence regarding the existence of the GameObject. This is usually called in response to Enter or Stay collider events. | |
override void | Enter (GameObject evidence) |
override void | Stay (GameObject evidence) |
override void | Exit (GameObject evidence) |
BoxSensor is a simple sensor that uses a fixed size box collider to detect Aspects.
RAIN.Sensors.BoxSensor.BoxSensor | ( | ) |
Default constructor.
virtual bool RAIN.Sensors.BoxSensor.CreateEvidence | ( | GameObject | evidence | ) | [protected, virtual] |
CreateEvidence tells the RAIN Belief system to add new evidence regarding the existence of the GameObject. This is usually called in response to Enter or Stay collider events.
evidence | The GameObject to add evidence for |
Reimplemented in RAIN.Sensors.ExpandingBoxSensor.
void RAIN.Sensors.BoxSensor.Start | ( | ) |
Start() is the Unity event handler initializing the object on game startup.