Files
2026-07-09 21:33:33 +02:00

18 lines
541 B
C#

using System;
using Sirenix.OdinInspector;
using UnityEngine;
using VOID.Generic.Objects.Wearable;
namespace VOID.Generic.Objects.Unit.Equipment
{
/// <summary>
/// Wrapper for equipped item in this slot.
/// Its main purpose is to give whole wrapper so other functions can change its wearable.
/// </summary>
[Serializable]
public class EquippedItem
{
public GameObject gameObject => wearable.gameObject;
[field: SerializeField, HideLabel] public WearableObject wearable { get; set; }
}
}