I have a text file with hundreds of lines that I’d like to split. The file levels.txt in the project, but this gives me an error.
var Puzzles = new String[449];
var levels: TextAsset;
Puzzles = levels.Split("\n"[0]);
error: ‘Split’ is not a member of ‘UnityEngine.TextAsset’.