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