16 lines
436 B
C#
16 lines
436 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using AYellowpaper.SerializedCollections;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace BITKit.Entities.Slot
|
||
|
{
|
||
|
[CustomType(typeof(IEntitySlot<Transform>))]
|
||
|
public sealed class UnityEntitySlot : EntityComponent, IEntitySlot<Transform>
|
||
|
{
|
||
|
[SerializeField] private SerializedDictionary<string,Transform> dictionary = new();
|
||
|
public IDictionary<string, Transform> Slots => dictionary;
|
||
|
}
|
||
|
|
||
|
}
|