void ProcessFiles(string root) { foreach (string dir in Directory.GetDirectories(root)) { ProcessFiles(dir); } foreach (string filename in Directory.GetFiles(root, "*.tzx")) { CassetteController.LoadFile(filename); } }
// Use this for initialization void Start() { playerController = player.GetComponent <PlayerController>(); cassetteController = rubbishWithCassette.GetComponent <CassetteController>(); dialogController = dialogFrame.GetComponent <DialogController>(); }