This component provides UnityEvent blocks for reactions that cause different pleasure values.
More...
This component provides UnityEvent blocks for reactions that cause different pleasure values.
◆ Awake()
virtual void PixelCrushers.LoveHate.DeedReactionEvents.Awake |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnWitnessDeed()
void PixelCrushers.LoveHate.DeedReactionEvents.OnWitnessDeed |
( |
Rumor |
rumor | ) |
|
|
inline |
Raises the witness deed event.
- Parameters
-
rumor | The faction member's subjective evaluation of the deed, which may or may not be added to the faction member's memory based on its perceived importance to the faction member. |
Implements PixelCrushers.LoveHate.IWitnessDeedEventHandler.
◆ reactions
Reaction [] PixelCrushers.LoveHate.DeedReactionEvents.reactions |
Initial value:= new Reaction[3]
{
new Reaction(-100, -25, RangeAnimation.AllTemperaments),
new Reaction(-25, 25, RangeAnimation.AllTemperaments),
new Reaction(25, 100, RangeAnimation.AllTemperaments)
}
The animations to play based on deed pleasure.
◆ timeBetweenReactions
float PixelCrushers.LoveHate.DeedReactionEvents.timeBetweenReactions = 300f |
At least this many seconds must pass before reacting to the same character.
The documentation for this class was generated from the following file:
- C:/Dev/LoveHate/Dev/Source/Assets/Plugins/Pixel Crushers/LoveHate/Scripts/Interaction/Misc/DeedReactionEvents.cs