//will set value to it private void vSetSpaceValue(Vector2 _Space, PFEStatus _state) { if ((int)_Space.y < m_ePostFormSpaces.Count && (int)_Space.x < m_ePostFormSpaces[0].Count) { m_ePostFormSpaces[(int)_Space.y][(int)_Space.x] = _state; } else { Debug.LogError("FLAG: vSetSpaceValue got an invalid array entry: y" + _Space.y + ", x" + _Space.x + ", " + gameObject); } }