init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 130f7cd1bd374250b6ddbff5b08b88b7
|
||||
timeCreated: 1694103020
|
||||
Reference in New Issue
Block a user