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

Gossips with another character when entering its trigger area. More...

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

Static Public Member Functions

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

Protected Member Functions

virtual void OnTriggerEnter (Collider other)
 
- Protected Member Functions inherited from PixelCrushers.LoveHate.AbstractGossipTrigger
virtual void Awake ()
 
virtual void HandleOnTriggerEnter (GameObject other)
 
virtual bool ShouldGossip (FactionMember other)
 
virtual void Gossip (FactionMember other)
 

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.LoveHate.AbstractGossipTrigger
virtual void TryGossip (FactionMember other)
 Tries to gossip between this faction member and another, based on affinity and when they last gossiped.
 
void UpdateLastGossipTime (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.AbstractGossipTrigger
float timeBetweenGossip = 300f
 At least this many seconds must pass before gossiping with the same character.
 
- 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

Gossips with another character when entering its trigger area.

Member Function Documentation

◆ OnTriggerEnter()

virtual void PixelCrushers.LoveHate.GossipTrigger.OnTriggerEnter ( Collider  other)
inlineprotectedvirtual

◆ ZonePluginActivator()

static List< string > PixelCrushers.LoveHate.GossipTrigger.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: