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

Plays a greeting animation when near another character based on affinity to that character. More...

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

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.AbstractGreetingAnimationTrigger
override void Awake ()
 
override void Greet (FactionMember other)
 
- Protected Member Functions inherited from PixelCrushers.LoveHate.AbstractGreetingTrigger
virtual void HandleOnTriggerEnter (GameObject other)
 
virtual bool ShouldGreet (FactionMember other)
 

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.LoveHate.AbstractGreetingTrigger
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 inherited from PixelCrushers.LoveHate.AbstractGreetingAnimationTrigger
RangeAnimation[] greetings
 The animations to play based on affinity.
 
- Public Attributes inherited from PixelCrushers.LoveHate.AbstractGreetingTrigger
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 Attributes inherited from PixelCrushers.LoveHate.AbstractGreetingTrigger
FactionMember m_self = null
 

Detailed Description

Plays a greeting animation when near another character based on affinity to that character.

Member Function Documentation

◆ OnTriggerEnter()

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

◆ ZonePluginActivator()

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