SphereSensor is a simple sensor that uses a fixed size sphere collider to detect Aspects. More...
Public Member Functions | |
| SphereSensor () | |
| 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) |
SphereSensor is a simple sensor that uses a fixed size sphere collider to detect Aspects.
| RAIN.Sensors.SphereSensor.SphereSensor | ( | ) |
Default constructor.
| virtual bool RAIN.Sensors.SphereSensor.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 |
| void RAIN.Sensors.SphereSensor.Start | ( | ) |
Start() is the Unity event handler initializing the object on game startup.