Initial Commit
This commit is contained in:
commit
ee5c2f922d
2255 changed files with 547750 additions and 0 deletions
18
Assets/Scripts/ItemData.cs
Normal file
18
Assets/Scripts/ItemData.cs
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
using Unity.Entities;
|
||||
|
||||
namespace DefaultNamespace
|
||||
{
|
||||
public struct ItemData
|
||||
{
|
||||
public static readonly ItemData Empty = new ItemData(new Hash128(), 0);
|
||||
|
||||
public Hash128 Item;
|
||||
public int Amount;
|
||||
|
||||
public ItemData(Hash128 item, int amount)
|
||||
{
|
||||
Item = item;
|
||||
Amount = amount;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue