Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | ItsAccel |
I’m trying to re-create my inventory system from unity inside of Godot but I can’t figure out how to create a class thats only data just like in any programming language "ItemStack itemStack = new ItemStack(Init); and then having an Inventory class that holds an array of ItemStacks? so then the player can hold an object/class of Inventory, or is the way godot works not possible to do this? and if not how would you go about doing that? I’ll show a quick little youtube video of what my unity inventory looks like