Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
24
Assets/Scripts/Prefabs/ItemPrefab.cs
Normal file
24
Assets/Scripts/Prefabs/ItemPrefab.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue