the scarlet police have me at gun point
This commit is contained in:
parent
b964c9b617
commit
d6da52fd69
54 changed files with 674 additions and 55 deletions
|
|
@ -39,7 +39,7 @@ public class Entity : MonoBehaviour
|
|||
rb.linearVelocity = moveDirection * speed;
|
||||
}
|
||||
}
|
||||
public virtual void TakeDamage(float damage)
|
||||
public virtual void TakeDamage(float damage, Entity origin)
|
||||
{
|
||||
health -= damage;
|
||||
if (health < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue