mirror of
https://github.com/omegaleo/Tutorials.git
synced 2026-11-08 17:43:27 +00:00
12 lines
274 B
C#
12 lines
274 B
C#
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;
|
|
}
|