public static void Post(Action <bool> response) { if (dataSync.player.Count == 0) { response(true); return; } BaseOnline.Instance.WWW(SaveControl.url, dataSync, (string message) => { try { if (BaseOnline.IsSuccess(message)) { dataSync.player = new List <UserInfo>(); response(true); } else { response(false); } } catch (Exception) { response(false); } }); }
public Dialog_BaseOnlineButton(BaseOnline baseOnline) { Base = baseOnline; closeOnCancel = true; closeOnAccept = false; doCloseButton = false; doCloseX = true; resizeable = false; draggable = true; SelectTab0MultMax = SessionClientController.Data.GeneralSettings.IncidentMaxMult; StatusNeedUpdate = true; }
// public Scrollbar srb; public void Awake() { instance = this; }
private void Awake() { _instance = this; }