35 lines
635 B
C#
35 lines
635 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 equipmentCard;
|
|
}
|
|
|