private void increaseArraySize(int[] indices) { int maxIndex = Mathf.Max(indices); while (maxIndex >= this.movementLookup.Count) { this.movementLookup.Add(null); } }