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