Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…Manager-UAM into main
  • Loading branch information
MathewHDYT committed Nov 20, 2021
2 parents 75b4242 + 51678cd commit ac379e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int layer = 0;
float startTime = 0.0f;
AnimationManager.AninmationError err = am.PlayAnimation(animator, newAnimation, layer, startTime);
if (err != AnimationManager.AninmationError.OK) {
Debug.Log("Playing animation failed with error id: ", err);
Debug.Log("Playing animation failed with error id: " + err);
}
else {
Debug.Log("Playing animation successful");
Expand All @@ -122,7 +122,7 @@ Animator animator = gameObject.GetComponent<Animator>();
string newAnimation = "Player_attack";
AnimationManager.AninmationError err = am.PlayAnimation(animator, newAnimation);
if (err != AnimationManager.AninmationError.OK) {
Debug.Log("Playing animation failed with error id: ", err);
Debug.Log("Playing animation failed with error id: " + err);
}
else {
Debug.Log("Playing animation successful");
Expand Down

0 comments on commit ac379e2

Please sign in to comment.