Loading...
Searching...
No Matches
PixelCrushers.LoveHate.AbstractGreetingTrigger Class Referenceabstract

This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D, through an intermediate AbstractGreetingAnimationTrigger. More...

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

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
 

Detailed Description

This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D, through an intermediate AbstractGreetingAnimationTrigger.

Member Function Documentation

◆ Awake()

virtual void PixelCrushers.LoveHate.AbstractGreetingTrigger.Awake ( )
inlineprotectedvirtual

◆ Greet()

virtual void PixelCrushers.LoveHate.AbstractGreetingTrigger.Greet ( FactionMember  other)
inlineprotectedvirtual

◆ HandleOnTriggerEnter()

virtual void PixelCrushers.LoveHate.AbstractGreetingTrigger.HandleOnTriggerEnter ( GameObject  other)
inlineprotectedvirtual

◆ ShouldGreet()

virtual bool PixelCrushers.LoveHate.AbstractGreetingTrigger.ShouldGreet ( FactionMember  other)
inlineprotectedvirtual

◆ TryGreeting()

virtual void PixelCrushers.LoveHate.AbstractGreetingTrigger.TryGreeting ( FactionMember  other)
inlinevirtual

Member Data Documentation

◆ m_self

FactionMember PixelCrushers.LoveHate.AbstractGreetingTrigger.m_self = null
protected

◆ timeBetweenGreetings

float PixelCrushers.LoveHate.AbstractGreetingTrigger.timeBetweenGreetings = 300f

At least this many seconds must pass before greeting the same character.


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