mirror of
https://github.com/omegaleo/Tutorials.git
synced 2026-11-09 01:53:29 +00:00
Added Inventory System
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class ItemData : Resource
|
||||
{
|
||||
[Export] public string Id { get; set; }
|
||||
[Export] public string DisplayName { get; set; }
|
||||
[Export] public Texture2D Icon { get; set; }
|
||||
[Export] public int MaxStack { get; set; } = 64;
|
||||
}
|
||||
Reference in New Issue
Block a user