// Start is called before the first frame update void Awake() { if (instance == null) { instance = this; } else { Destroy(this); } }
void LogoutButton_Click(dfControl control, dfMouseEventArgs mouseEvent) { LogoutScript.Logout(); ParseUser.LogOut(); Application.LoadLevel("DFGUI Login"); }