/// <summary> /// Load screenshot image by file index. /// </summary> /// <param name="index"> File's index. </param> /// <param name="pixelPerUnit"> Pixel per unit conversion to world space. </param> /// <returns> Sprite object that loaded image file by index. </returns> public static Sprite LoadImageByIndex(int index, float pixelPerUnit = 100.0f) { string path = ImagePathByIndex(index); return(JCS_ImageLoader.LoadImage(path, pixelPerUnit)); }