PO/Assets/Scripts/Configs/EquipmentConfig.cs

35 lines
638 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;
[TextArea (3,6)]
public string description;
public Sprite sprite;
public Place place;
public GameObject[] equipmentCards;
}