/// <summary> /// 删除当前用户 /// </summary> public void DeleteUser() { Logger.Instance.WriteLog("删除当前用户"); UserBasicDao ubdao = new UserBasicDao(); ubdao.Delete001(UIRecord.UBInfo.ID); UserGroupDao ugDao = new UserGroupDao(); ugDao.Delete001(UIRecord.UBInfo.ID); UserRecordManage.Instance.GetComponent <UserRecordManage> ().ReLoadUserRecord(); }