public void SetFrame(int index) { int row = index / spriteSheetColumnCount; int column = index % spriteSheetColumnCount; SetFrame(row, column); }