added temp scene and wave based enemy
This commit is contained in:
@@ -27,7 +27,15 @@ namespace Darkmatter.Presentation
|
||||
|
||||
public void PlayDeadAnim()
|
||||
{
|
||||
resetValues();
|
||||
animator.SetTrigger(deadHash);
|
||||
}
|
||||
|
||||
public void resetValues()
|
||||
{
|
||||
animator.SetBool("walk", false);
|
||||
animator.SetBool("chase", false);
|
||||
animator.SetBool("attack", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user