This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D, through an intermediate AbstractGreetingAnimationTrigger. More...
Public Member Functions | |
virtual void | TryGreeting (FactionMember other) |
Public Member Functions inherited from PixelCrushers.LoveHate.AbstractTriggerInteractor | |
virtual FactionMember | GetFactionMember (GameObject other) |
Gets the FactionMember on a GameObject. | |
Public Attributes | |
float | timeBetweenGreetings = 300f |
At least this many seconds must pass before greeting 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 | ShouldGreet (FactionMember other) |
virtual void | Greet (FactionMember other) |
Protected Attributes | |
FactionMember | m_self = null |
This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D, through an intermediate AbstractGreetingAnimationTrigger.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlinevirtual |
|
protected |
float PixelCrushers.LoveHate.AbstractGreetingTrigger.timeBetweenGreetings = 300f |
At least this many seconds must pass before greeting the same character.