コード例 #1
0
    public void SetPiece(GunStats gunPart)
    {
        if (gunPart.GetType() == typeof(Grip))
        {
        }

        else if (gunPart.GetType() == typeof(Barrel))
        {
        }
        else if (gunPart.GetType() == typeof(Ammo))
        {
        }
    }