PO/Assets/Scripts/Configs/EquipmentConfig.cs

33 lines
539 B
C#
Raw Normal View History

2022-01-16 23:20:47 +03:00
using System.Collections.Generic;
using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
[CreateAssetMenu(fileName = "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;
}