Skip to content

Commit ceddfc7

Browse files
authored
Fix typos
1 parent 044eb1e commit ceddfc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Example Project/Assets/Scripts/MethodCalls.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private void Start() {
1717
}
1818

1919
public void PlayAnimationClicked() {
20-
AninmationManager.AninmationError error = am.PlayAnimation(animator, inputField.text);
20+
AnimationManager.AninmationError error = am.PlayAnimation(animator, inputField.text);
2121
output.text = GetStringFromError(error);
2222
}
2323

@@ -28,13 +28,13 @@ public void GetCurrentAnimationLengthClicked() {
2828

2929
private string GetStringFromError(AninmationManager.AnimationError error) {
3030
switch (error) {
31-
case AnimationError.OK:
31+
case AnimationManager.AnimationError.OK:
3232
// No Message
3333
return;
34-
case AnimationError.ALREADY_PLAYING:
34+
case AnimationManager.AnimationError.ALREADY_PLAYING:
3535
// No Message
3636
return;
37-
case AnimationError.DOES_NOT_EXIST:
37+
case AnimationManager.AnimationError.DOES_NOT_EXIST:
3838
warning = "Given Animation Name does not exist on the given Animator.";
3939
break;
4040
default:

0 commit comments

Comments
 (0)