всякое новое дерьмо, уже не важно

This commit is contained in:
2022-11-15 02:42:50 +05:00
parent b879fc63d9
commit 5c6dfa6557
73 changed files with 2246 additions and 182 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ public class QRCodeReader : MonoBehaviour
scaleY = camTexture.videoVerticallyMirrored ? -1f : 1f;
rawImage.rectTransform.localScale = new Vector3(1f, scaleY, 1f);
}
else if(Application.platform == RuntimePlatform.IPhonePlayer)
else
{
ratio = (float)camTexture.height / (float)camTexture.width;
rawImage.rectTransform.localScale = new Vector3(1f, -1f, 1f);