Hello there! Like many I'm thankfull that Unity finally gave me a real reason to try out Godot!
Currently I would prefer to stick to C#, but I'm more a jack of all trades and not the perfect programmer.
The most basic stuff is fine for me, but I'm currently trying to get Lists in Godot... if I got it right: There are none?
But instead the arrays act like lists? ... kinda confusing to me. Anyway, I tried something like this:
`using Godot;
using System;
using System.Collections.Generic;
using Godot.Collections.Array;
public enum cardNames {Fireball, Potion, Kick};
public partial class CardDataBase : Node
{
CardStats[] CardLibrary;
Cardlibrary.add(12,"g");
Console.WriteLine(Cardlibrary[0]);
}`
Basically I created a class to define the stats of my game cards and want a librabry to store these. The approach above might be total nonsense, a mix of Array and List syntax. I tried different approaches, but none worked for me so far.
Sadly google wont help me to much as common C# seems to me different to "godot c#" ...(right?)...appreciate any hint
p.s. the console already fails at the "(" after the add...some variants got further, but failed with the value...