Skip to content

Commit ebf640a

Browse files
authored
Update textureregion.cs (#153)
Fix the comments for the constructor
1 parent 6251630 commit ebf640a

File tree

1 file changed

+1
-1
lines changed
  • articles/tutorials/building_2d_games/07_optimizing_texture_rendering/snippets

1 file changed

+1
-1
lines changed

articles/tutorials/building_2d_games/07_optimizing_texture_rendering/snippets/textureregion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public TextureRegion() { }
4646
/// </summary>
4747
/// <param name="texture">The texture to use as the source texture for this texture region.</param>
4848
/// <param name="x">The x-coordinate position of the upper-left corner of this texture region relative to the upper-left corner of the source texture.</param>
49-
/// <param name="y"><The y-coordinate position of the upper-left corner of this texture region relative to the upper-left corner of the source texture./param>
49+
/// <param name="y">The y-coordinate position of the upper-left corner of this texture region relative to the upper-left corner of the source texture.</param>
5050
/// <param name="width">The width, in pixels, of this texture region.</param>
5151
/// <param name="height">The height, in pixels, of this texture region.</param>
5252
public TextureRegion(Texture2D texture, int x, int y, int width, int height)

0 commit comments

Comments
 (0)