public void Set(int x, int y, Transform value) // Sets index x and y to object value { try { //Debug.Log("@" + x + "," + y); gridService.SetValue(value, x, y); } catch (IndexOutOfRangeException) { } }
public Transform this [int col, int row] { get { return(Value[col, row]); } set { Value.SetValue(value, col, row); } }
public void Set(int x, int y, object value) { grid.SetValue(value, x, y); }