Skip to content

Commit

Permalink
Improve reset
Browse files Browse the repository at this point in the history
  • Loading branch information
mochi-neko committed Aug 9, 2023
1 parent c541248 commit be699a7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public float GetWeightOf(Eyelid eyelid)

public void Reset()
{
MorphInto(new EyelidSample(Eyelid.Both, weight: 0f));
MorphInto(new EyelidSample(Eyelid.Left, weight: 0f));
MorphInto(new EyelidSample(Eyelid.Right, weight: 0f));
expression.SetWeight(ExpressionKey.BlinkLeft, 0f);
expression.SetWeight(ExpressionKey.BlinkRight, 0f);
expression.SetWeight(ExpressionKey.Blink, 0f);
}
}
}

0 comments on commit be699a7

Please sign in to comment.