void Update() { if (Input.GetMouseButtonDown(1)) { int cellIndex = tgs.cellLastClickedIndex; tgs.CellGetSettings(); } }