C# (CSharp) Demeanor.Decrement - 1 examples found. These are the top rated real world C# (CSharp) examples of Demeanor.Decrement extracted from open source projects. You can rate examples to help us improve the quality of examples.
public void Slow(float fraction)
{
// Force a new path if the sheep was angry before.
if (demeanor == Demeanor.Angry)
{
stateMachine.SetState("Idle");
}
demeanor = demeanor.Decrement();
slowFraction = fraction;
}