33 lines
539 B
C#
33 lines
539 B
C#
|
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;
|
||
|
}
|
||
|
|