Basic AI script for the Farmer Example scene. More...
Public Attributes | |
float | powerLevel = 1 |
float | selfPerceivedPowerLevel = 1 |
float | speed = 0.2f |
float | pursueSpeed = 0.5f |
float | evadeSpeed = 0.4f |
float | endurance = 10 |
float | dislikeThreshold = -10 |
bool | aggressive = false |
List< FactionMember > | m_inRange = new List<FactionMember>() |
Public Attributes inherited from PixelCrushers.LoveHate.Example.Mover2D | |
bool | controlMovement = true |
Vector3 | moveToPosition |
Protected Member Functions | |
override void | Start () |
Protected Member Functions inherited from PixelCrushers.LoveHate.Example.Mover2D | |
virtual void | FixedUpdate () |
Additional Inherited Members | |
Protected Attributes inherited from PixelCrushers.LoveHate.Example.Mover2D | |
Rect | cameraRect |
Rigidbody2D | rb |
Basic AI script for the Farmer Example scene.
|
inlineprotectedvirtual |
Reimplemented from PixelCrushers.LoveHate.Example.Mover2D.
bool PixelCrushers.LoveHate.Example.FarmAI.aggressive = false |
float PixelCrushers.LoveHate.Example.FarmAI.dislikeThreshold = -10 |
float PixelCrushers.LoveHate.Example.FarmAI.endurance = 10 |
float PixelCrushers.LoveHate.Example.FarmAI.evadeSpeed = 0.4f |
List<FactionMember> PixelCrushers.LoveHate.Example.FarmAI.m_inRange = new List<FactionMember>() |
float PixelCrushers.LoveHate.Example.FarmAI.powerLevel = 1 |
float PixelCrushers.LoveHate.Example.FarmAI.pursueSpeed = 0.5f |
float PixelCrushers.LoveHate.Example.FarmAI.selfPerceivedPowerLevel = 1 |
float PixelCrushers.LoveHate.Example.FarmAI.speed = 0.2f |