void CreateCategory()
        {
            //path = EditorGUILayout.TextField(basePath, path);

            categoryName = EditorGUILayout.TextField("Category Name", categoryName);

            if (GUILayout.Button("Create!"))
            {
                if (categoryName == null || "".Equals(categoryName))
                {
                    EditorUtility.DisplayDialog("Error!", "Specify a name for this category", "OK");
                    return;
                }

                Asset item = AssetBuilder.Build(OMTB.Configuration.ResourcesConfiguration.CategoriesPath, categoryName, typeof(Category), new Config());
            }
        }
        void CreateWeapon()
        {
            weaponName = EditorGUILayout.TextField("Weapon Name", weaponName);
            weaponGrip = EditorGUILayout.Popup(weaponGrip, weaponGrips);
            if (GUILayout.Button("Create!"))
            {
                if (weaponName == null || "".Equals(weaponName))
                {
                    EditorUtility.DisplayDialog("Error!", "Specify a name for this weapon", "OK");
                    return;
                }



                Asset item = AssetBuilder.Build(OMTB.Configuration.ResourcesConfiguration.WeaponsPath, typeof(MeleeWeapon),
                                                new MeleeWeaponConfig()
                {
                    Name = weaponName,
                    Grip = (WeaponGrip)weaponGrip,
                    MaxQuantityPerSlot = 5
                });
            }
        }
        void CreateArmor()
        {
            //path = EditorGUILayout.TextField(basePath, path);

            armorName = EditorGUILayout.TextField("Armor Name", armorName);

            bodyPartSelected = EditorGUILayout.Popup(bodyPartSelected, bodyParts);

            if (GUILayout.Button("Create!"))
            {
                if (armorName == null || "".Equals(armorName))
                {
                    EditorUtility.DisplayDialog("Error!", "Specify a name for this piece of armor", "OK");
                    return;
                }

                Asset item = AssetBuilder.Build(OMTB.Configuration.ResourcesConfiguration.ArmorsPath, typeof(Armor),
                                                new ArmorConfig()
                {
                    Name     = armorName,
                    BodyPart = (ArmorBodyPart)bodyPartSelected
                });
            }
        }