27 lines
750 B
C#
27 lines
750 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[System.Serializable]
|
||
|
public class ChestPrefarbAsset
|
||
|
{
|
||
|
[SerializeField]
|
||
|
public string name;
|
||
|
[SerializeField]
|
||
|
public string prefarbAssetName;
|
||
|
[SerializeField]
|
||
|
public Vector3 position;
|
||
|
[SerializeField]
|
||
|
public Dictionary<int, EquippableItemPrefarbAsset> content = new Dictionary<int, EquippableItemPrefarbAsset>();
|
||
|
|
||
|
public ChestPrefarbAsset() {}
|
||
|
|
||
|
public ChestPrefarbAsset(string _name, string _prefarbAssetName, Vector3 _position, Dictionary<int, EquippableItemPrefarbAsset> _content)
|
||
|
{
|
||
|
name = _name;
|
||
|
prefarbAssetName = _prefarbAssetName;
|
||
|
position = _position;
|
||
|
content = _content;
|
||
|
}
|
||
|
}
|