Hello,
I am trying to upload my scene to ftp using unity serializer newest version but i don’t know how to do that i’ve got:
void DoMyWindow(int windowID) {
GUI.Label (new Rect (20, 20, 300, 100), "Choose something!");
if (GUI.Button(new Rect(20, 40, 120, 25), "Contineu editing")){
GameObject.Find ("Main Camera").GetComponent<levelEditMenu> ().leveltest = false;
GameObject.Find("Main Camera").GetComponent<levelEditMenu>().stopTestLevel ();
finish = false;
GameObject.Find ("Main Camera").GetComponent<levelEditMenu> ().finishBool = false;
}
if (GUI.Button (new Rect (150, 40, 120, 25), "Publish")) {
SerializeLevelToServer();
}
}
public static void SerializeLevelToServer (string uri = "ftp://universal-games.nl/test.dat", string userName = "alien-bros@universal-games.nl", string password = "Tm7._=MTuBmJ",
System.Action<System.Exception> onComplete = null){
print ("test");
}
But that doesn’t work at all does someone give me an example or help me?