2022-01-16 23:20:47 +03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
using System;
|
|
|
|
using UnityEditor;
|
|
|
|
using UnityEngine;
|
|
|
|
using UnityEngine.Events;
|
|
|
|
|
2022-01-17 18:24:11 +03:00
|
|
|
[CreateAssetMenu(fileName = "EquipmentConfig", menuName = "Configs/EquipmentConfig")]
|
2022-01-16 23:20:47 +03:00
|
|
|
public class EquipmentConfig : ScriptableObject
|
|
|
|
{
|
|
|
|
public EquipmentCharacteristic equipmentCharacteristics;
|
|
|
|
}
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public enum Place
|
|
|
|
{
|
|
|
|
Hat,
|
|
|
|
Gloves,
|
|
|
|
Armor,
|
|
|
|
Weapon,
|
|
|
|
Pet,
|
|
|
|
Shoes
|
|
|
|
};
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
public class EquipmentCharacteristic
|
|
|
|
{
|
|
|
|
public string name;
|
2022-01-19 23:48:18 +03:00
|
|
|
[TextArea (3,6)]
|
2022-01-16 23:20:47 +03:00
|
|
|
public string description;
|
|
|
|
public Sprite sprite;
|
|
|
|
public Place place;
|
2022-01-20 02:46:04 +03:00
|
|
|
public GameObject[] equipmentCards;
|
2022-01-16 23:20:47 +03:00
|
|
|
}
|
|
|
|
|