Hi.
I have some trouble with my c# code i get an error (expecting “;”.) when writing this.
using UnityEngine;
using System.Collections;
//using System.IO;
public class txtprinter : MonoBehaviour {
// Use this for initialization
void Awake () {
public string hello = "hello";
//public string label;
}
// Update is called once per frame
/*void Printing () {
TextWriter objWriter= new StreamWriter("hej.txt");
//objWriter.WriteLine(label);
objWriter.Flush();
objWriter.Close();
objWriter=null;
print ("hej");
}*/
}