This is the base class for trigger components such as AbstractGreetingTrigger and AbstractGossipTrigger.
More...
|
int | cacheSize = 32 |
| The max size of the cache of other GameObjects to keep track of.
|
|
This is the base class for trigger components such as AbstractGreetingTrigger and AbstractGossipTrigger.
◆ GetFactionMember()
virtual FactionMember PixelCrushers.LoveHate.AbstractTriggerInteractor.GetFactionMember |
( |
GameObject |
other | ) |
|
|
inlinevirtual |
Gets the FactionMember on a GameObject.
This method maintains a cache of FactionMember components found on GameObjects and uses the cache when possible. Since characters often bump into the same triggers repeatedly, this significantly reduces the number of calls to GetComponentXXX().
- Returns
- The FactionMember.
- Parameters
-
◆ cacheSize
int PixelCrushers.LoveHate.AbstractTriggerInteractor.cacheSize = 32 |
The max size of the cache of other GameObjects to keep track of.
The documentation for this class was generated from the following file: