예제 #1
0
    /// <summary>
    /// 与玩家发生碰撞
    /// </summary>
    protected virtual void CollidedByPlayer()
    {
        CharacterBase player = PlayerInterface.GetInstance().GetCharacter();

        player.BeingHit();
        _collidedByPlayer?.Invoke(this, player);
    }