You've already forked zumbi-game
fix incorrect animation name
This commit is contained in:
@@ -96,7 +96,7 @@ public class ZombieController : MonoBehaviour
|
|||||||
private void Die()
|
private void Die()
|
||||||
{
|
{
|
||||||
Debug.Log($"{gameObject.name} je mŕtvy!");
|
Debug.Log($"{gameObject.name} je mŕtvy!");
|
||||||
animator.SetTrigger("die");
|
animator.SetTrigger("Die");
|
||||||
Destroy(gameObject, 2f);
|
Destroy(gameObject, 2f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user