public void StartSelecting(GemManager manager,int _eqid) { current_gemManager = manager; gems = manager.GetStoredGems(); size = gems.Count; if (size % 6 > 0) { pages = size / 6 + 1; } else pages = size / 6; current_page = 1; current_select = 0; eqid = _eqid-1; if (size == 0) cur.gameObject.SetActive(false); else cur.gameObject.SetActive(true); gameObject.SetActive(true); //Debug.Log("size " + size.ToString()); }