Beispiel #1
0
 public static void ScaleToGridSize(this Texture2D texture, int width, int height)
 {
     TextureScale.scale(texture, width * MapController.PixelsPerCell, height * MapController.PixelsPerCell);
 }