Loading...
Searching...
No Matches
PixelCrushers.LoveHate.AuraTrigger2D Class Reference

Applies an aura effect when a faction member enters the trigger. More...

Inheritance diagram for PixelCrushers.LoveHate.AuraTrigger2D:
Collaboration diagram for PixelCrushers.LoveHate.AuraTrigger2D:

Static Public Member Functions

static List< string > ZonePluginActivator ()
 For optional UtopiaWorx Zone Controller integration.
 

Protected Member Functions

virtual void OnTriggerEnter2D (Collider2D other)
 
- Protected Member Functions inherited from PixelCrushers.LoveHate.AbstractAuraTrigger
virtual void Awake ()
 
virtual void HandleOnTriggerEnter (GameObject other)
 
virtual bool ShouldAffect (FactionMember other)
 
virtual void Affect (FactionMember other)
 

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.LoveHate.AbstractAuraTrigger
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 inherited from PixelCrushers.LoveHate.AbstractAuraTrigger
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.
 

Detailed Description

Applies an aura effect when a faction member enters the trigger.

Member Function Documentation

◆ OnTriggerEnter2D()

virtual void PixelCrushers.LoveHate.AuraTrigger2D.OnTriggerEnter2D ( Collider2D  other)
inlineprotectedvirtual

◆ ZonePluginActivator()

static List< string > PixelCrushers.LoveHate.AuraTrigger2D.ZonePluginActivator ( )
inlinestatic

For optional UtopiaWorx Zone Controller integration.

Returns
The properties that Zone Controller can control.

The documentation for this class was generated from the following file: