2D-Platformer/Assets/Scripts/Prefabs/ItemPrefab.cs
2022-02-12 12:53:50 +02:00

24 lines
No EOL
479 B
C#

using System;
using UnityEngine;
using UnityEngine.AddressableAssets;
namespace DefaultNamespace
{
[CreateAssetMenu]
public class ItemPrefab : ScriptableObject
{
public ColliderType ColliderType;
public AssetReferenceGameObject ContainerPrefab;
public Sprite Icon;
public bool UseCustomContainer;
}
[Serializable]
public class AssetReferenceItemPrefab : AssetReferenceT<ItemPrefab>
{
public AssetReferenceItemPrefab(string guid)
: base(guid)
{
}
}
}