This abstract aura trigger is the workhorse for AuraTrigger (3D) and AuraTrigger2D. More...
Public Member Functions | |
virtual void | TryAffect (FactionMember other) |
Public Member Functions inherited from PixelCrushers.LoveHate.AbstractTriggerInteractor | |
virtual FactionMember | GetFactionMember (GameObject other) |
Gets the FactionMember on a GameObject. | |
Public Attributes | |
float | timeBetweenEffects = 300f |
At least this many seconds must pass before affecting the same character. | |
float | impact |
float | aggression |
bool | debug = false |
Public Attributes inherited from PixelCrushers.LoveHate.AbstractTriggerInteractor | |
int | cacheSize = 32 |
The max size of the cache of other GameObjects to keep track of. | |
Protected Member Functions | |
virtual void | Awake () |
virtual void | HandleOnTriggerEnter (GameObject other) |
virtual bool | ShouldAffect (FactionMember other) |
virtual void | Affect (FactionMember other) |
This abstract aura trigger is the workhorse for AuraTrigger (3D) and AuraTrigger2D.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
float PixelCrushers.LoveHate.AbstractAuraTrigger.aggression |
bool PixelCrushers.LoveHate.AbstractAuraTrigger.debug = false |
float PixelCrushers.LoveHate.AbstractAuraTrigger.impact |
float PixelCrushers.LoveHate.AbstractAuraTrigger.timeBetweenEffects = 300f |
At least this many seconds must pass before affecting the same character.