Scriptum/Assets/Scripts/SceneManager/SaveItem/EquippableItemPrefarbAsset.cs

28 lines
691 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class EquippableItemPrefarbAsset
{
[SerializeField]
public string name;
[SerializeField]
public string prefarbAssetName;
[SerializeField]
public Vector3 position;
[SerializeField]
public EquippableItem equippableItem;
public EquippableItemPrefarbAsset(){}
public EquippableItemPrefarbAsset(string _name, string _prefarbAssetName, Vector3 _position, EquippableItem _equippableItem)
{
name = _name;
prefarbAssetName = _prefarbAssetName;
position = _position;
equippableItem = _equippableItem;
}
}