PO/Assets/Scripts/Configs/EquipmentConfig.cs

33 lines
577 B
C#

using System.Collections.Generic;
using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
[CreateAssetMenu(fileName = "EquipmentConfig", menuName = "Configs/EquipmentConfig")]
public class EquipmentConfig : ScriptableObject
{
public EquipmentCharacteristic equipmentCharacteristics;
}
[Serializable]
public enum Place
{
Hat,
Gloves,
Armor,
Weapon,
Pet,
Shoes
};
[Serializable]
public class EquipmentCharacteristic
{
public string name;
public string description;
public Sprite sprite;
public Place place;
}