This abstract class is the workhorse for GossipTrigger and GossipTrigger2D. More...
Public Member Functions | |
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 | |
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. | |
Protected Member Functions | |
virtual void | Awake () |
virtual void | HandleOnTriggerEnter (GameObject other) |
virtual bool | ShouldGossip (FactionMember other) |
virtual void | Gossip (FactionMember other) |
This abstract class is the workhorse for GossipTrigger and GossipTrigger2D.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
Tries to gossip between this faction member and another, based on affinity and when they last gossiped.
other | Other faction member. |
|
inline |
float PixelCrushers.LoveHate.AbstractGossipTrigger.timeBetweenGossip = 300f |
At least this many seconds must pass before gossiping with the same character.