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