private void Die(string tag) { if (tag.Equals("Death")) { _input.Disable(); _collisionComponent.Disable(); _playerAnimationComponent.Death(() => OnDeath.Invoke()); } }
private void Die(string tag) { if (tag.Equals("Death")) { _input.Disable(); _collisionComponent.Disable(); _playerAnimationComponent.Death(() => OnDeath.Invoke()); } }