Hi, I have a class with an array as a variable:
public string history;
public string[] answers;
public StoryNode[] nextNode;
public bool isFinal = false;
I want to create a reference in another class, as I must fill in the array, I've done something like that but it gives me an error:
GameplayManager.StoryNode historia_inicial = new GameplayManager.StoryNode("Historia 1", {"Answer1", "Answer2"}, new StoryNode["1", "2"], false);
How to fill an array when instantiating another class? Thanks