Пример #1
0
        private void setupController(TWLoadingImageLib loadImageLibrary, ImageLoadType imageLoadType)
        {
            aspectRatioFitter = loadImage.gameObject.GetComponent <AspectRatioFitter>();

            this.loadImageLibrary = loadImageLibrary;

            changeImageLoadAspectFitter(imageLoadType);
        }
Пример #2
0
 public static void SetupController(TWLoadingImageLib backgroundLibrary, ImageLoadType imageLoadType = ImageLoadType.AUTO_FIT)
 {
     Instance?.setupController(backgroundLibrary, imageLoadType);
 }