private void Awake() { _instance = this; _contentTransform = GetComponent <ScrollRect>().content; _sessions = null; _lastUpdateTime = Time.time; }
private void OnButtonClick() { PlayerPrefsWrapper.Set(IntPrefs.session_id, _sessionId); SessionInfoPanel.DrawPanel(SessionScrollList.GetSessionById(_sessionId)); }
private void OnDestroy() { _instance = null; }